(isDialog = false)
| 48 | } |
| 49 | |
| 50 | function close(isDialog = false) { |
| 51 | setLocalStorage("hasDismissedOnboardingCard", true); |
| 52 | dispatch(setOnboardingCard({ show: false })); |
| 53 | if (isDialog) { |
| 54 | dispatch(setDialogMessage(undefined)); |
| 55 | dispatch(setShowDialog(false)); |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | function setActiveTab(tab: OnboardingModes) { |
| 60 | dispatch(setOnboardingCard({ show: true, activeTab: tab })); |
nothing calls this directly
no test coverage detected