Skip to content

Commit

Permalink
Add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jscriptcoder committed Mar 30, 2023
1 parent 75b221d commit fd0220f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/bridge-ui/src/components/modals/NoticeModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
// the next steps in the flow, also setting the prop back to false
// (could be bound to the parent)
// TODO: use promises here. API to open the modal should return a promise
// which resolves when the user clicks on confirm.
// which resolves when the user clicks on confirm. If noShowAgain is set
// to true, the promise should resolve immediately.
$: if (show && noShowAgainStorage) {
closeAndContinue();
}
Expand Down

0 comments on commit fd0220f

Please sign in to comment.