* docs: Update README.md * fix: quick ask improvement Signed-off-by: James <james@jan.ai> --------- Signed-off-by: James <james@jan.ai> Co-authored-by: hieu-jan <150573299+henryh0x1@users.noreply.github.com> Co-authored-by: James <james@jan.ai>
33 lines
778 B
TypeScript
33 lines
778 B
TypeScript
'use client'
|
|
|
|
import { useEffect } from 'react'
|
|
|
|
import ClipboardListener from '@/containers/Providers/ClipboardListener'
|
|
|
|
import JotaiWrapper from '@/containers/Providers/Jotai'
|
|
import ThemeWrapper from '@/containers/Providers/Theme'
|
|
|
|
import { setupCoreServices } from '@/services/coreService'
|
|
|
|
import Search from './page'
|
|
|
|
export default function RootLayout() {
|
|
useEffect(() => {
|
|
setupCoreServices()
|
|
}, [])
|
|
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className="bg-white font-sans text-sm antialiased dark:bg-background">
|
|
<JotaiWrapper>
|
|
<ThemeWrapper>
|
|
<ClipboardListener>
|
|
<Search />
|
|
</ClipboardListener>
|
|
</ThemeWrapper>
|
|
</JotaiWrapper>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|