File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
packages/app/src/app/pages/Sandbox Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,7 @@ class SandboxPage extends React.Component {
4545 }
4646
4747 fetchSandbox = ( ) => {
48- let id = this . props . match . params . id ;
49-
50- // /**
51- // * We do this as an optimization. Most urls end with the shortid (5 chars), if we can extract that
52- // * we try to do so. This check is also handled on the server, but this way the sequence of `sandboxChanged`
53- // * won't try to fetch the sandbox twice if it doesn't find the "id" in the state.
54- // */
55- // const split = id.split('-');
56- // if (
57- // split.length > 1 &&
58- // !id.startsWith('github') &&
59- // split[split.length - 1].length === 5
60- // ) {
61- // id = split.pop();
62- // }
48+ const id = this . props . match . params . id ;
6349
6450 this . props . signals . editor . sandboxChanged ( { id } ) ;
6551 } ;
You can’t perform that action at this time.
0 commit comments