Organized save avatar

This commit is contained in:
DwCay
2022-05-25 02:18:13 +03:00
parent 3730bbee86
commit 59d96222d6
9 changed files with 35 additions and 85 deletions

View File

@@ -14,7 +14,6 @@ function Sidebar({
const trigger = useRef(null);
const sidebar = useRef(null);
const storedSidebarExpanded = localStorage.getItem('sidebar-expanded');
const [sidebarExpanded, setSidebarExpanded] = useState(storedSidebarExpanded === null ? false : storedSidebarExpanded === 'true');