force graph, palette

This commit is contained in:
Nikita
2024-08-30 16:19:29 +03:00
parent 9e89959dd4
commit 32352ca5f4
38 changed files with 1602 additions and 243 deletions

View File

@@ -72,7 +72,7 @@ const PageSectionHeader: React.FC<PageSectionHeaderProps> = ({ pageCount }) => (
>
<p className="flex items-center text-xs font-medium">
Pages
{pageCount && <span className="text-muted-foreground ml-1">{pageCount}</span>}
{pageCount > 0 && <span className="text-muted-foreground ml-1">{pageCount}</span>}
</p>
</Button>
<div className={cn("flex items-center gap-px pr-2")}>
@@ -86,6 +86,8 @@ const NewPageButton: React.FC = () => {
const { me } = useAccount()
const router = useRouter()
if (!me) return null
const handleClick = () => {
try {
const newPersonalPage = PersonalPage.create(
@@ -248,6 +250,4 @@ const ShowAllForm: React.FC = () => {
</DropdownMenuContent>
</DropdownMenu>
)
}
export default PageSection
}