Updated dependencies; fixes some TS issues uncovered by update
This commit is contained in:
@@ -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