Cleanup AI slop and simplify db interface
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import React, { ReactNode } from 'react';
|
||||
import { minifyCSS, minifyJS } from './utils';
|
||||
|
||||
// @ts-expect-error - Importing as text, not a module
|
||||
import styles from './styles.css' with { type: "text" };
|
||||
// @ts-expect-error - Importing as text, not a module
|
||||
import headScript from './onLoad' with { type: "text" };
|
||||
|
||||
import { ThemePicker } from './components/theme-picker';
|
||||
@@ -9,7 +11,7 @@ import { ProfileBadge } from './components/profile-badge';
|
||||
import { TagPicker } from './components/tag-picker';
|
||||
import { PostArchive } from './components/post-archive';
|
||||
|
||||
export function AppShell({ children }: { children: ReactNode }) {
|
||||
export function AppShell({ children, searchParams }: { children: ReactNode, searchParams?: URLSearchParams }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
@@ -23,7 +25,7 @@ export function AppShell({ children }: { children: ReactNode }) {
|
||||
<aside>
|
||||
<ThemePicker />
|
||||
<ProfileBadge />
|
||||
<TagPicker />
|
||||
<TagPicker searchParams={searchParams} />
|
||||
<PostArchive />
|
||||
</aside>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user