Skip to content

Commit

Permalink
Merge branch 'feat/allowlist' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
camewell071 committed Jan 16, 2024
2 parents d5e0fa2 + 793078b commit 2f8937a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Providers/user-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const UserProvider: React.FC<PropsWithChildren> = ({
const token = AuthenStorage.getAuthenKey();

const fetchUserInfo = async () => {
const userInfo = userServices.getUser()
const userInfo = await userServices.getUser()
dispatch(setUser(userInfo as User))
};

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Whitelist/steps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Steps = () => {
const token = AuthenStorage.getAuthenKey();
const { toggle: isShowConnect, onToggle: onToggleConnect } = useToggle();
const needReload = useAppSelector(commonSelector).needReload
const user = useAppSelector(userSelector)
const user = useAppSelector(userSelector);

const handleShareTw = async () => {
const res: any = await requestAuthenByShareCode();
Expand Down

0 comments on commit 2f8937a

Please sign in to comment.