pl-fe: Disable some queries when unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -289,6 +289,7 @@ const MediaGallery: React.FC<IMediaGallery> = (props) => {
|
||||
height,
|
||||
visible,
|
||||
} = props;
|
||||
|
||||
const [width, setWidth] = useState<number>(defaultWidth);
|
||||
|
||||
const node = useRef<HTMLDivElement>(null);
|
||||
|
||||
Reference in New Issue
Block a user