Updated dependencies; fixes some TS issues uncovered by update
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"next-themes": "0.3.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
|
||||
@@ -12,7 +12,6 @@ export function usePersonalAccountData(
|
||||
name: string | null;
|
||||
picture_url: string | null;
|
||||
}
|
||||
| undefined,
|
||||
) {
|
||||
const client = useSupabase();
|
||||
const queryKey = ['account:data', userId];
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"@tanstack/react-table": "^8.20.5",
|
||||
"@types/react": "^18.3.5",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.53.0",
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"@tanstack/react-query": "5.55.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react-hook-form": "^7.53.0",
|
||||
"react-i18next": "^15.0.1",
|
||||
"sonner": "^1.5.0",
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.53.0",
|
||||
|
||||
@@ -223,7 +223,7 @@ export class TeamAccountsApi {
|
||||
.gte('expires_at', new Date().toISOString())
|
||||
.single();
|
||||
|
||||
if (!invitation ?? error) {
|
||||
if (error ?? !invitation) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user