mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-14 03:51:23 +00:00
Pass null instead of empty string
This commit is contained in:
parent
1e50cf8cd8
commit
1e078e1324
@ -59,7 +59,7 @@ export const Embed = ({ embedLink }) => {
|
||||
const [openSnack, setOpenSnack] = useState(false);
|
||||
const [infoSnack, setInfoSnack] = useState(null);
|
||||
const [external, setExternal] = useState(null);
|
||||
const [imageUrl, setImageUrl] = useState('');
|
||||
const [imageUrl, setImageUrl] = useState(null);
|
||||
const [parsedData, setParsedData] = useState(null);
|
||||
const setBlobs = useSetAtom(blobControllerAtom);
|
||||
const [selectedGroupId] = useAtom(selectedGroupIdAtom);
|
||||
|
@ -199,7 +199,6 @@ export const ImageCard = ({
|
||||
|
||||
export function ImageViewer({ src = null, alt = '' }) {
|
||||
const [isFullscreen, setIsFullscreen] = useState(false);
|
||||
|
||||
const handleOpenFullscreen = () => setIsFullscreen(true);
|
||||
const handleCloseFullscreen = () => setIsFullscreen(false);
|
||||
const theme = useTheme();
|
||||
|
Loading…
x
Reference in New Issue
Block a user