This commit is contained in:
James Stuckey Weber 2023-06-21 11:12:48 -04:00
parent 2778507a4e
commit 6b1e56e66f

View File

@ -29,7 +29,7 @@ export function base64ToState(string: string): Partial<PlaygroundState> {
// Remove hash
decoded = decodeURIComponent(atob(string.slice(1)));
} catch (error) {
return {}
return {};
}
if (!/\d\d.*/.test(decoded)) return {};