Skip to content

Commit e0648d8

Browse files
hetpatel33SaraVieira
authored andcommitted
fix codesandbox#2777: added safecheck for undefined data.me (codesandbox#2882)
1 parent e3034fc commit e0648d8

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/Dashboard/Content/routes/PathedSandboxes

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/Dashboard/Content/routes/PathedSandboxes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const PathedSandboxes = props => {
3333
}
3434

3535
const sandboxes =
36-
loading || !data.me.collection
36+
loading || !data.me || !data.me.collection
3737
? []
3838
: data.me.collection.sandboxes;
3939

0 commit comments

Comments
 (0)