fix(ui): remove duplicate reset button from upper nav sidebar
This commit is contained in:
1 parent
0fd1c87034
commit
305ba9a617
1 file changed
-7
@@ -420,13 +420,6 @@ export const NotebookPane = ({
|
||||
label={t("notebookPane.allMemos")}
|
||||
onClick={onBackToList}
|
||||
/>
|
||||
{demoMode && onResetDemo && (
|
||||
<SidebarNavButton
|
||||
icon={<RotateCcw className={cn("h-4 w-4 text-amber-600", isResettingDemo && "animate-spin")} />}
|
||||
label={isResettingDemo ? t("demo.resetting") : t("demo.resetButton")}
|
||||
onClick={onResetDemo}
|
||||
/>
|
||||
)}
|
||||
</nav>
|
||||
|
||||
<div className="group mb-2 flex items-center justify-between gap-2">
|
||||
|
||||
Reference in new issue
Block a user