Create titres
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ import {auth} from '../auth.js'
|
||||
import Konstitisyon from '@/components/konstitisyon/index.js'
|
||||
import Footer from '@/components/footer.js'
|
||||
import Sign from '@/components/session/sign.js'
|
||||
import Create from '@/components/konstitisyon/create.js'
|
||||
import Create from '@/components/konstitisyon/create/index.js'
|
||||
|
||||
const apiUrl = process.env.DIRECTUS_API_URL
|
||||
const appTitle = process.env.APP_TITLE
|
||||
@@ -59,7 +59,7 @@ export default async function Page() {
|
||||
<Typography mt={1} component='h1' textAlign='center' variant='h4'>{appTitle.toUpperCase()}</Typography>
|
||||
<Sign session={session} />
|
||||
{session && (
|
||||
<Create />
|
||||
<Create session={session} />
|
||||
)}
|
||||
<Konstitisyon session={session} titres={titres} articles={articles} />
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user