From cc39da41e7527ff625fa16e4edcbe924aa9d1890 Mon Sep 17 00:00:00 2001 From: Josh Daniel Date: Wed, 24 Apr 2024 10:28:05 +0800 Subject: [PATCH] fix: resolve cache issue in profile --- .../dashboard/components/profile/sidebar.tsx | 4 +- src/app/dashboard/page.tsx | 21 +- src/graphql-env.d.ts | 964 +----------------- src/schema/models/post.ts | 20 +- 4 files changed, 53 insertions(+), 956 deletions(-) diff --git a/src/app/dashboard/components/profile/sidebar.tsx b/src/app/dashboard/components/profile/sidebar.tsx index c4f2e5c..a8d7f3f 100644 --- a/src/app/dashboard/components/profile/sidebar.tsx +++ b/src/app/dashboard/components/profile/sidebar.tsx @@ -1,7 +1,7 @@ import { FragmentOf, graphql, readFragment } from "gql.tada"; import { EditIcon } from "@/components/icons"; -import { Button, buttonVariants } from "@/components/ui/button"; +import { buttonVariants } from "@/components/ui/button"; import { OrgSheet } from "../org-sheet"; import { PaymentMethod } from "../payment-method"; @@ -38,7 +38,7 @@ export function ProfileSidebar({ const data = readFragment(SidebarFields, user); return ( -