@@ -20,8 +20,8 @@ import {
20
20
import { AlgorithmApi , GitHubApi } from '/apis' ;
21
21
import { actions } from '/reducers' ;
22
22
import { extension , getFiles , getTitleArray , handleError , refineGist } from '/common/util' ;
23
- import { exts , languages , us } from '/common/config' ;
24
- import { README_MD , SCRATCH_PAPER_MD } from '/skeletons' ;
23
+ import { exts , languages } from '/common/config' ;
24
+ import { SCRATCH_PAPER_MD } from '/skeletons' ;
25
25
import styles from './stylesheet.scss' ;
26
26
27
27
loadProgressBar ( ) ;
@@ -168,15 +168,7 @@ class App extends React.Component {
168
168
fetchPromise
169
169
. catch ( error => {
170
170
if ( error . message ) handleError . bind ( this ) ( error ) ;
171
- this . props . setAlgorithm ( {
172
- categoryName : 'Algorithm Visualizer' ,
173
- algorithmName : 'Home' ,
174
- files : [ {
175
- name : 'README.md' ,
176
- content : README_MD ,
177
- contributors : [ us ] ,
178
- } ] ,
179
- } ) ;
171
+ this . props . setHome ( ) ;
180
172
} )
181
173
. finally ( ( ) => {
182
174
const files = getFiles ( this . props . current ) ;
@@ -272,8 +264,6 @@ class App extends React.Component {
272
264
< Helmet >
273
265
< title > { title } </ title >
274
266
< meta name = "description" content = { description } />
275
- < meta property = "og:title" content = { title } />
276
- < meta property = "og:description" content = { description } />
277
267
</ Helmet >
278
268
< Header className = { styles . header } onClickTitleBar = { ( ) => this . toggleNavigatorOpened ( ) }
279
269
navigatorOpened = { navigatorOpened } loadScratchPapers = { ( ) => this . loadScratchPapers ( ) }
0 commit comments