Update onboarding and error handling experience (#29)

This commit is contained in:
AceDataCloud committed 2024-01-03 16:40:24 +08:00
1 parent 916df4b482
commit 9c54ffb7a8
23 files changed
+228 -43

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
/**
* Js JSON string
*/
export const isJSONString = (str: string): boolean => {
try {
JSON.parse(str);
} catch (e) {
return false;
}
return true;
};