Skip to content

Commit 6e56712

Browse files
author
Ives van Hoorne
committed
Fix lint errors
1 parent 61455d4 commit 6e56712

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/app/src/embed/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ export default class App extends React.PureComponent<{}, State> {
137137
.then(res => res.json())
138138
.then(camelizeKeys);
139139

140-
document.title = `${sandbox.title || sandbox.id} - CodeSandbox`;
140+
document.title = `${response.data.title ||
141+
response.data.id} - CodeSandbox`;
141142

142143
this.setState({ sandbox: response.data });
143144
} catch (e) {

0 commit comments

Comments
 (0)