Reverted Channels change for initial render

This commit is contained in:
Nick Sandstrom 2025-12-18 07:46:21 -08:00
parent 2a0df81c59
commit bd148a7f14

View file

@ -10,7 +10,6 @@ import ErrorBoundary from '../components/ErrorBoundary';
const PageContent = () => {
const authUser = useAuthStore((s) => s.user);
if (!authUser.id) throw new Error()
const [allotmentSizes, setAllotmentSizes] = useLocalStorage(
'channels-splitter-sizes',
@ -25,6 +24,8 @@ const PageContent = () => {
setAllotmentSizes(sizes);
};
if (!authUser.id) return <></>;
if (authUser.user_level <= USER_LEVELS.STANDARD) {
return (
<Box style={{ padding: 10 }}>