chore: update worker locale

This commit is contained in:
jialin
2025-10-17 21:11:31 +08:00
parent 49c6bb71a1
commit 19e275a17a
23 changed files with 82 additions and 65 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import jdenticon from 'jdenticon';
import { update } from 'jdenticon';
import React, { useEffect, useRef } from 'react';
interface IdenticonProps {
@@ -13,7 +13,7 @@ const Identicon: React.FC<IdenticonProps> = ({
const icon = useRef<any>(null);
useEffect(() => {
jdenticon?.update(icon.current, 'value');
update(icon.current, value);
}, [value]);
return (