Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

give close button more powers #221

Merged
merged 2 commits into from
Dec 16, 2022
Merged

give close button more powers #221

merged 2 commits into from
Dec 16, 2022

Conversation

futurepaul
Copy link
Contributor

should help with #203

for now it just means the sub-pages in the manager will nav to their parent on close

@futurepaul futurepaul temporarily deployed to Preview December 13, 2022 21:51 — with GitHub Actions Inactive
Comment on lines 13 to 22
function handleClose() {
if (onClose) {
onClose();
}
if (to) {
navigate(to);
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably put a comment on why you're not using an else if here

@futurepaul futurepaul temporarily deployed to Preview December 14, 2022 03:35 — with GitHub Actions Inactive
@MutinyWallet MutinyWallet deleted a comment from vercel bot Dec 16, 2022
@github-actions
Copy link

github-actions bot commented Dec 16, 2022

@futurepaul futurepaul merged commit 908bca8 into master Dec 16, 2022
@futurepaul futurepaul deleted the better-close-button branch December 16, 2022 21:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants