fix: dont refetch every navigate

This commit is contained in:
Aslam H
2024-10-07 17:59:37 +07:00
parent b43c9762a1
commit e14714d5dd
4 changed files with 10 additions and 17 deletions
+1 -3
View File
@@ -21,9 +21,7 @@ const DEFAULT_VALUES = {
export const fetchClerkAuth = createServerFn("GET", async (_, ctx) => {
const auth = await getAuth(ctx.request)
return {
user: auth,
}
return auth
})
export const getFeatureFlag = createServerFn(