Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix: upgrade sdk, query-client and ui without immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Nov 13, 2023
1 parent 6232398 commit 1306c16
Show file tree
Hide file tree
Showing 5 changed files with 1,544 additions and 1,562 deletions.
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@graasp/query-client": "1.11.1",
"@graasp/sdk": "1.9.2",
"@graasp/translations": "1.18.3",
"@graasp/ui": "3.5.4",
"@graasp/query-client": "2.0.1",
"@graasp/sdk": "2.1.0",
"@graasp/translations": "1.19.4",
"@graasp/ui": "4.0.0",
"@mui/icons-material": "5.14.16",
"@mui/lab": "5.0.0-alpha.151",
"@mui/material": "5.14.16",
"@sentry/react": "7.66.0",
"@sentry/tracing": "7.66.0",
"@mui/material": "5.14.17",
"@sentry/react": "7.80.0",
"@sentry/tracing": "7.80.0",
"http-status-codes": "2.3.0",
"qs": "6.11.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-ga4": "2.1.0",
"react-i18next": "13.2.2",
"react-router": "6.15.0",
"react-router-dom": "6.15.0",
"react-i18next": "13.4.0",
"react-router": "6.18.0",
"react-router-dom": "6.18.0",
"react-toastify": "9.1.3",
"stylis": "4.3.0",
"stylis-plugin-rtl": "2.1.1",
Expand Down Expand Up @@ -74,32 +74,32 @@
]
},
"devDependencies": {
"@commitlint/cli": "17.8.0",
"@commitlint/config-conventional": "17.8.0",
"@cypress/code-coverage": "3.12.5",
"@commitlint/cli": "18.4.1",
"@commitlint/config-conventional": "18.4.0",
"@cypress/code-coverage": "3.12.9",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "14.0.0",
"@testing-library/react": "14.1.0",
"@testing-library/user-event": "14.5.1",
"@trivago/prettier-plugin-sort-imports": "4.2.0",
"@types/jest": "29.5.5",
"@types/node": "18.18.6",
"@types/qs": "6.9.8",
"@types/react": "^18.2.28",
"@types/react-dom": "18.2.13",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/jest": "29.5.8",
"@types/node": "20.9.0",
"@types/qs": "6.9.10",
"@types/react": "^18.2.37",
"@types/react-dom": "18.2.15",
"@types/react-router-dom": "5.3.3",
"@types/validator": "13.11.3",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"@vitejs/plugin-react": "4.1.0",
"concurrently": "8.2.1",
"cypress": "13.3.2",
"@types/validator": "13.11.6",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"@vitejs/plugin-react": "4.1.1",
"concurrently": "8.2.2",
"cypress": "13.5.0",
"env-cmd": "10.1.0",
"eslint": "^8.3.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-react-app": "7.0.1",
"eslint-import-resolver-typescript": "3.6.0",
"eslint-import-resolver-typescript": "3.6.1",
"husky": "8.0.3",
"istanbul-lib-coverage": "3.2.0",
"istanbul-lib-coverage": "3.2.2",
"nyc": "15.1.0",
"prettier": "3.1.0",
"rollup-plugin-visualizer": "5.9.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Redirection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Redirection: FC<Props> = ({ children }) => {
const { data: member } = hooks.useCurrentMember();
const redirect = useRedirection();

if (member?.get('id')) {
if (member) {
redirectToSavedUrl(GRAASP_BUILDER_HOST);

return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ const SignUp = () => {
helperText={nameError}
onChange={handleNameOnChange}
id={NAME_SIGN_UP_FIELD_ID}
disabled={Boolean(invitation?.get('name'))}
disabled={Boolean(invitation.name)}
/>
<EmailInput
value={email}
setValue={setEmail}
id={EMAIL_SIGN_UP_FIELD_ID}
disabled={Boolean(invitation?.get('email'))}
disabled={Boolean(invitation.email)}
shouldValidate={shouldValidate}
/>
<Button onClick={handleRegister} id={SIGN_UP_BUTTON_ID} fullWidth>
Expand Down
1 change: 0 additions & 1 deletion src/config/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const i18n = buildI18n().use(initReactI18next);
i18n.use(initReactI18next);

export const useAuthTranslation = () => useTranslation(namespaces.auth);
export const useBuilderTranslation = () => useTranslation(namespaces.builder);
export const useCommonTranslation = () => useTranslation(namespaces.common);
export const useMessagesTranslation = () => useTranslation(namespaces.messages);

Expand Down
Loading

0 comments on commit 1306c16

Please sign in to comment.