mirror of
https://git.um-react.app/um/um-react.git
synced 2026-10-26 08:23:02 +00:00
refactor: major package updates
This commit is contained in:
@@ -11,7 +11,7 @@ export function SDKVersion() {
|
||||
const refDialog = useRef<HTMLDialogElement>(null);
|
||||
const [sdkVersion, setSdkVersion] = useState('...');
|
||||
useEffect(() => {
|
||||
getSDKVersion().then(setSdkVersion);
|
||||
getSDKVersion().then(setSdkVersion, () => setSdkVersion('N/A'));
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user