Skip to content

Commit

Permalink
fix(ui): set default account button restoring processs based on conne…
Browse files Browse the repository at this point in the history
…ctor.account
  • Loading branch information
thekiba committed Apr 20, 2024
1 parent cbcf8b1 commit 3c94e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/app/views/account-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const AccountButton: Component<AccountButtonProps> = () => {
const tonConnectUI = useContext(TonConnectUiContext)!;
const [isOpened, setIsOpened] = createSignal(false);
const [account, setAccount] = createSignal<Account | null>(connector.account);
const [restoringProcess, setRestoringProcess] = createSignal<boolean>(true);
const [restoringProcess, setRestoringProcess] = createSignal<boolean>(!connector.account);

let dropDownRef: HTMLDivElement | undefined;

Expand Down

0 comments on commit 3c94e91

Please sign in to comment.