feat: display all posts on home page

This commit is contained in:
Stevan Freeborn
2023-09-15 17:52:01 -05:00
parent 31dd29a9c2
commit 638ba3ce5c
6 changed files with 109 additions and 3 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
'use client';
import { useMountedEffect } from '@/hooks';
import { UserButton as ClerkUserButton } from '@clerk/nextjs';
import { ReactNode } from 'react';
export default function UserButton() {
export default function UserButton({ children }: { children?: ReactNode }) {
const { mounted } = useMountedEffect();
if (mounted === false) {