Merge branch 'master' into admin-password
This commit is contained in:
commit
ec5e5b3893
86 changed files with 5072 additions and 5166 deletions
|
|
@ -6,7 +6,6 @@ import Link from 'next/link';
|
|||
import { useSelectedLayoutSegments } from 'next/navigation';
|
||||
import React, { useEffect, useMemo, useState, type ReactNode } from 'react';
|
||||
import Layout from './Layout';
|
||||
import SettingsDialog from './SettingsDialog';
|
||||
|
||||
export type Preferences = {
|
||||
isLibraryEnabled: boolean;
|
||||
|
|
@ -123,15 +122,9 @@ const Sidebar = ({ children }: { children: React.ReactNode }) => {
|
|||
)}
|
||||
</VerticalIconContainer>
|
||||
|
||||
<Settings
|
||||
onClick={() => setIsSettingsOpen(!isSettingsOpen)}
|
||||
className="cursor-pointer"
|
||||
/>
|
||||
|
||||
<SettingsDialog
|
||||
isOpen={isSettingsOpen}
|
||||
setIsOpen={setIsSettingsOpen}
|
||||
/>
|
||||
<Link href="/settings">
|
||||
<Settings className="cursor-pointer" />
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue