Skip to content

Commit 7425192

Browse files
authored
fix: create sandbox url crash (#8590)
1 parent e40278b commit 7425192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/Sandbox/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface Props {
1616
export const Sandbox: React.FC<Props> = ({ showModalOnTop, match }) => {
1717
const state = useAppState();
1818

19-
if (match.params.id) {
19+
if (match?.params.id) {
2020
window.location.href = sandboxUrl({ id: match.params.id });
2121
return null;
2222
}

0 commit comments

Comments
 (0)