fixed filter by tags + refactored search + bug fixed + settings page [WIP]
This commit is contained in:
@@ -19,8 +19,6 @@ export default function Navbar() {
|
||||
|
||||
const [profileDropdown, setProfileDropdown] = useState(false);
|
||||
|
||||
const [sidebar, setSidebar] = useState(false);
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
const { theme, setTheme } = useTheme();
|
||||
@@ -33,6 +31,8 @@ export default function Navbar() {
|
||||
}
|
||||
};
|
||||
|
||||
const [sidebar, setSidebar] = useState(false);
|
||||
|
||||
window.addEventListener("resize", () => setSidebar(false));
|
||||
|
||||
useEffect(() => {
|
||||
@@ -79,6 +79,7 @@ export default function Navbar() {
|
||||
>
|
||||
<ProfilePhoto
|
||||
src={account.profilePic}
|
||||
priority={true}
|
||||
className="sm:group-hover:h-8 sm:group-hover:w-8 duration-100 border-[3px]"
|
||||
/>
|
||||
<p
|
||||
@@ -132,7 +133,7 @@ export default function Navbar() {
|
||||
onClickOutside={toggleSidebar}
|
||||
>
|
||||
<div className="slide-right h-full shadow-lg">
|
||||
<Sidebar className="" />
|
||||
<Sidebar />
|
||||
</div>
|
||||
</ClickAwayHandler>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user