MCPcopy Create free account
hub / github.com/continuedev/continue / close

Function close

gui/src/components/OnboardingCard/hooks/useOnboardingCard.ts:50–57  ·  view source on GitHub ↗
(isDialog = false)

Source from the content-addressed store, hash-verified

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 }));

Callers

nothing calls this directly

Calls 1

setLocalStorageFunction · 0.90

Tested by

no test coverage detected