We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857b288 commit 6b78843Copy full SHA for 6b78843
src/components/react/ImageRandom.tsx
@@ -10,10 +10,10 @@ interface Props extends ImgHTMLAttributes<HTMLImageElement> {
10
allImagesSrc: string[];
11
}
12
13
-const initialSrc = '';
+const initialImageSrc = '';
14
15
const ImageRandomReact: FC<Props> = ({ allImagesSrc, className, ...props }) => {
16
- const [imageSrc, setImageSrc] = useState(initialSrc);
+ const [imageSrc, setImageSrc] = useState(initialImageSrc);
17
18
useEffect(() => {
19
const run = async () => {
0 commit comments