migrate to blitzjs
This commit is contained in:
25
app/messages/pages/messages.tsx
Normal file
25
app/messages/pages/messages.tsx
Normal file
@ -0,0 +1,25 @@
|
||||
import { Suspense } from "react"
|
||||
import type { BlitzPage } from "blitz"
|
||||
|
||||
import Layout from "../../core/layouts/layout"
|
||||
import ConversationsList from "../components/conversations-list"
|
||||
import useRequireOnboarding from "../../core/hooks/use-require-onboarding"
|
||||
|
||||
const Messages: BlitzPage = () => {
|
||||
useRequireOnboarding()
|
||||
|
||||
return (
|
||||
<Layout title="Messages">
|
||||
<div className="flex flex-col space-y-6 p-6">
|
||||
<p>Messages page</p>
|
||||
</div>
|
||||
<Suspense fallback="Loading...">
|
||||
<ConversationsList />
|
||||
</Suspense>
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
|
||||
Messages.authenticate = true
|
||||
|
||||
export default Messages
|
Reference in New Issue
Block a user