Skip to content

Commit e3034fc

Browse files
hetpatel33SaraVieira
authored andcommitted
fix 2792: added safe-check for undefined data.me (codesandbox#2883)
1 parent 4d80e45 commit e3034fc

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/Dashboard/Sidebar/SandboxesItem

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/Dashboard/Sidebar/SandboxesItem/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class SandboxesItemComponent extends React.Component {
8787
);
8888
}
8989

90-
if (error) {
90+
if (error || !data.me) {
9191
return <div>Error!</div>;
9292
}
9393
const { children, folders, foldersByPath } = getChildCollections(

0 commit comments

Comments
 (0)