Skip to content

Commit

Permalink
refactor: update ui
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Sep 19, 2024
1 parent 976822a commit d8e1a6b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/item/ItemContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const AppContent = ({
contextPayload={{
apiHost: API_HOST,
itemId: item.id,
memberId: member?.id,
accountId: member?.id,
permission,
settings: item.settings,
lang:
Expand Down
2 changes: 0 additions & 2 deletions src/components/pages/item/ItemLoginWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ItemLoginAuthorization } from '@graasp/ui';
import { hooks, mutations } from '@/config/queryClient';
import {
ITEM_LOGIN_SIGN_IN_BUTTON_ID,
ITEM_LOGIN_SIGN_IN_MEMBER_ID_ID,
ITEM_LOGIN_SIGN_IN_PASSWORD_ID,
ITEM_LOGIN_SIGN_IN_USERNAME_ID,
} from '@/config/selectors';
Expand Down Expand Up @@ -44,7 +43,6 @@ const ItemLoginWrapper = ({
item={item}
itemLoginSchemaType={itemLoginSchemaType}
ForbiddenContent={forbiddenContent}
memberIdInputId={ITEM_LOGIN_SIGN_IN_MEMBER_ID_ID}
usernameInputId={ITEM_LOGIN_SIGN_IN_USERNAME_ID}
signInButtonId={ITEM_LOGIN_SIGN_IN_BUTTON_ID}
passwordInputId={ITEM_LOGIN_SIGN_IN_PASSWORD_ID}
Expand Down
1 change: 0 additions & 1 deletion src/config/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export const ITEM_LOGIN_SIGN_IN_PASSWORD_ID = 'itemLoginSignInPassword';
export const ITEM_LOGIN_SIGN_IN_BUTTON_ID = 'itemLoginSignInButton';
export const ITEM_SCREEN_MAIN_ID = 'itemScreenMain';
export const ITEM_LOGIN_SCREEN_FORBIDDEN_ID = 'itemLoginScreenForbidden';
export const ITEM_LOGIN_SIGN_IN_MEMBER_ID_ID = 'itemLoginSignInMemberId';
export const ITEM_LOGIN_SIGN_IN_MODE_ID = 'itemLoginSignInMode';
export const ITEM_MAIN_CLASS = 'itemMain';
export const HOME_ERROR_ALERT_ID = 'homeErrorAlert';
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,7 @@ __metadata:

"@graasp/ui@github:graasp/graasp-ui#refactor-with-authorization":
version: 5.0.0
resolution: "@graasp/ui@https://github.com/graasp/graasp-ui.git#commit=debf0c00ea620a477cb0a03c835cb876509b0927"
resolution: "@graasp/ui@https://github.com/graasp/graasp-ui.git#commit=de694e430a8931ce8eb94758f9d2013857d78839"
dependencies:
http-status-codes: "npm:2.3.0"
interweave: "npm:13.1.0"
Expand All @@ -1741,7 +1741,7 @@ __metadata:
"@emotion/cache": ~11.10.7 || ~11.11.0 || ~11.13.0
"@emotion/react": ~11.10.6 || ~11.11.0 || ~11.13.0
"@emotion/styled": ~11.10.6 || ~11.11.0 || ~11.13.0
"@graasp/sdk": ^4.14.0
"@graasp/sdk": ^4.29.0
"@graasp/stylis-plugin-rtl": ^2
"@graasp/translations": ^1.23.0
"@mui/icons-material": ~5.14.0 || ~5.15.0 || ~5.16.0
Expand All @@ -1755,7 +1755,7 @@ __metadata:
react-i18next: ^13.0.0 || ^14.0.0 || ^15.0.0
react-router-dom: ^6.11.0
stylis: ^4.1.3
checksum: 10/7d2808ffb93ae6a744050912b11b4c848a77aedf1eb99d86ca866188ae20f6123357e513b97a6352a59807943f8017e2bf4178ab198a855270c6f859d29305d6
checksum: 10/acfdb5e63d2b0f0298e1413a4872b51b90f804437738cd6889c02ad0f11a8d815bf32bfc6886d5941b4e02e74530a79a6a2b146ed884444d8c197ca6e711b53a
languageName: node
linkType: hard

Expand Down

0 comments on commit d8e1a6b

Please sign in to comment.