Corrected variable name typo and updated library dependencies
An incorrect variable name in account-invitations-table.tsx was fixed, correcting `iRenewingInvite` to `isRenewingInvite`. Additionally, several dependencies across the project were updated, including `zod`, `supabase`, and `stripe`, among others. These updates ensure the project is using the most recent and secure versions of the libraries.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-i18next": "^14.1.1",
|
||||
"sonner": "^1.4.41",
|
||||
"zod": "^3.23.5"
|
||||
"zod": "^3.23.6"
|
||||
},
|
||||
"prettier": "@kit/prettier-config",
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.51.3",
|
||||
"zod": "^3.23.5"
|
||||
"zod": "^3.23.6"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-i18next": "^14.1.1",
|
||||
"sonner": "^1.4.41",
|
||||
"zod": "^3.23.5"
|
||||
"zod": "^3.23.6"
|
||||
},
|
||||
"prettier": "@kit/prettier-config",
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-i18next": "^14.1.1",
|
||||
"sonner": "^1.4.41",
|
||||
"zod": "^3.23.5"
|
||||
"zod": "^3.23.6"
|
||||
},
|
||||
"prettier": "@kit/prettier-config",
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -160,7 +160,7 @@ function ActionsDropdown({
|
||||
}) {
|
||||
const [isDeletingInvite, setIsDeletingInvite] = useState(false);
|
||||
const [isUpdatingRole, setIsUpdatingRole] = useState(false);
|
||||
const [iRenewingInvite, setIsRenewingInvite] = useState(false);
|
||||
const [isRenewingInvite, setIsRenewingInvite] = useState(false);
|
||||
|
||||
if (!permissions.canUpdateInvitation && !permissions.canRemoveInvitation) {
|
||||
return null;
|
||||
@@ -223,7 +223,7 @@ function ActionsDropdown({
|
||||
/>
|
||||
</If>
|
||||
|
||||
<If condition={iRenewingInvite}>
|
||||
<If condition={isRenewingInvite}>
|
||||
<RenewInvitationDialog
|
||||
isOpen
|
||||
setIsOpen={setIsRenewingInvite}
|
||||
|
||||
Reference in New Issue
Block a user