We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da4c99d commit e437642Copy full SHA for e437642
1 file changed
src/layouts/container/index.tsx
@@ -15,8 +15,7 @@ export default function Container(props: IProps) {
15
const { avatarOption, setAvatarOption } = props;
16
const [flipped, setFlipped] = useState(false);
17
const [downloading, setDownloading] = useState(false);
18
- // const [imageDataURL, setImageDataURL] = useState('');
19
- const colorAvatarRef = useRef(null);
+ const colorAvatarRef = useRef<HTMLDivElement>(null);
20
const onRandomAvatar = () => {
21
if (Math.random() <= TRIGGER_PROBABILITY) {
22
let colorfulOption = getSpecialAvatarOption()
0 commit comments