Update onboarding and error handling experience (#29)
This commit is contained in:
1 parent
916df4b482
commit
9c54ffb7a8
23 files changed
+228
-43
No files matched your search
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Js JSON string
|
||||
*/
|
||||
|
||||
export const isJSONString = (str: string): boolean => {
|
||||
try {
|
||||
JSON.parse(str);
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
Reference in new issue
Block a user