feat: use handleClose function

This commit is contained in:
benalleng
2023-06-21 12:49:22 -04:00
committed by Paul Miller
parent 0503c6620a
commit 54da432e39
3 changed files with 23 additions and 36 deletions

View File

@@ -42,7 +42,7 @@ export const WarningModal: ParentComponent<{
}> = (props) => {
const [open, setOpen] = createSignal(
localStorage.getItem("betaWarned") !== "true" &&
getExistingSettings().network === "bitcoin"
getExistingSettings().network === "bitcoin"
);
function close() {