Refactored exports.

This commit is contained in:
Mike Cao committed 2023-04-21 08:00:42 -07:00
1 parent 1baf4d5571
commit 8bddc666b4
110 files changed
+317 -124

No files matched your search

+3 -1
View File
@@ -8,7 +8,7 @@ import useConfig from 'hooks/useConfig';
import { CURRENT_VERSION } from 'lib/constants';
import styles from './AppLayout.module.css';
export default function AppLayout({ title, children }) {
export function AppLayout({ title, children }) {
const { user } = useRequireLogin();
const config = useConfig();
const { pathname } = useRouter();
@@ -34,3 +34,5 @@ export default function AppLayout({ title, children }) {
</div>
);
}
export default AppLayout;