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

Commit

Permalink
hotfix: Fix router push in notifications and
Browse files Browse the repository at this point in the history
make visible prop optional in EditNicknameModal
  • Loading branch information
hirbod committed Nov 21, 2023
1 parent 8ee61b6 commit 4975279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const NotificationsSettingIcon = ({ size = 24 }) => {
return (
<PressableScale
onPress={() => {
router.push("/settings?tab=3");
router.push("/settings?tab=1");
}}
tw="h-8 w-8 items-center justify-center rounded-full"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { WalletAddressesV2 } from "app/types";
export type EditNicknameModalProps = {
editingWallet?: WalletAddressesV2;
onClose: any;
visible: boolean;
visible?: boolean;
};
export const EditNicknameModal = ({
editingWallet,
Expand Down

0 comments on commit 4975279

Please sign in to comment.