From 90e818bd77fcb9407ab371a4d2da64ec9eadf28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sat, 22 Jun 2024 21:18:05 +0400 Subject: [PATCH] fix: Add ReadComents to Konstitisyon component --- components/konstitisyon/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/konstitisyon/index.js b/components/konstitisyon/index.js index 9cbf44a..e2a4ea2 100644 --- a/components/konstitisyon/index.js +++ b/components/konstitisyon/index.js @@ -12,6 +12,7 @@ import AuthAlert from '../auth-form/auth-alert.js' import Titre from './titre.js' import Article from './article.js' import HandleCreate from './create/handle-create.js' +import ReadComments from './comments/read-comments.js' import {formatKonstitisyon} from '@/lib/format.js' const LightTooltip = styled(({className, ...props}) => ( @@ -97,6 +98,17 @@ export default function Konstitisyon({session, titres, articles}) { collection='commentaires' /> )} + + {selectedTitre && operation === 'read' && ( + + )} )