(silent = false)
| 265 | }, [currentStep, introList.length]); |
| 266 | |
| 267 | const handleHide = (silent = false) => { |
| 268 | useAppStore |
| 269 | .getState() |
| 270 | .saveIntroStateByKey({ key: "hidden", newState: true }); |
| 271 | if (!silent) { |
| 272 | pushNotification({ |
| 273 | module: "bytebase", |
| 274 | style: "INFO", |
| 275 | title: t("quick-start.notice.title"), |
| 276 | description: t("quick-start.notice.desc"), |
| 277 | manualHide: true, |
| 278 | }); |
| 279 | } |
| 280 | }; |
| 281 | |
| 282 | if (!showQuickstart || introList.length === 0) { |
| 283 | return null; |
no test coverage detected