diff --git a/front/src/components/Posts.tsx b/front/src/components/Posts.tsx index 2b7d28c..a16fc29 100644 --- a/front/src/components/Posts.tsx +++ b/front/src/components/Posts.tsx @@ -28,6 +28,11 @@ export function Posts(props: PostsProps) { ) } + { + props.rows.length == 0 + ?
empty!+ : null + } ); } \ No newline at end of file diff --git a/front/src/pages/index.tsx b/front/src/pages/index.tsx index 5797d87..71dfcfc 100644 --- a/front/src/pages/index.tsx +++ b/front/src/pages/index.tsx @@ -94,7 +94,7 @@ export function Index() { { data ?
no data!}