Refactored fetching to use react-query.
This commit is contained in:
1 parent
7bbed0e12b
commit
c56f02c475
112 files changed
+255
-492
No files matched your search
@@ -15,7 +15,7 @@ import SettingsButton from '../settings/SettingsButton';
|
||||
import styles from './Header.module.css';
|
||||
|
||||
export default function Header() {
|
||||
const { user } = useUser();
|
||||
const user = useUser();
|
||||
const { pathname } = useRouter();
|
||||
const { updatesDisabled, adminDisabled } = useConfig();
|
||||
const isSharePage = pathname.includes('/share/');
|
||||
|
||||
Reference in new issue
Block a user