mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
Reverted Channels change for initial render
This commit is contained in:
parent
2a0df81c59
commit
bd148a7f14
1 changed files with 2 additions and 1 deletions
|
|
@ -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 }}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue