Rename ReadComments to ListComments

This commit is contained in:
2024-06-23 06:52:27 +04:00
parent d1f4d40144
commit 4a2334b605
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -12,7 +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 ListComments from './comments/list-comments.js'
import {formatKonstitisyon} from '@/lib/format.js'
const LightTooltip = styled(({className, ...props}) => (
@@ -100,7 +100,7 @@ export default function Konstitisyon({session, titres, articles}) {
)}
{selectedTitre && operation === 'read' && (
<ReadComments
<ListComments
session={session}
selectedTitre={selectedTitre}
isOpen={isDialogOpen}