File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import '@atlaskit/css-reset';
6
6
import Header from './components/Header' ;
7
7
import Home from './pages/home' ;
8
8
import PackageDoc from './pages/PackageDoc' ;
9
- import Repl from './pages/Repl ' ;
9
+ import Repl from './pages/repl ' ;
10
10
11
11
const App = ( ) => (
12
12
< Router >
Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ import { Link } from 'react-router-dom';
3
3
import './style.css' ;
4
4
5
5
export default ( { location } ) => {
6
- const ifPathNameEqualTo = pathName => {
7
- console . log ( location ) ;
8
- return location && location . pathname === pathName ;
9
- } ;
6
+ const ifPathNameEqualTo = pathName => location && location . pathname === pathName ;
10
7
return (
11
8
< nav >
12
- < h1 > Extract React Types</ h1 >
9
+ < Link to = "/" >
10
+ < h1 > Extract React Types</ h1 >
11
+ </ Link >
13
12
< div className = "header-controls" >
14
13
{ /* <label>
15
14
Type system:
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import CodeMirror from 'react-codemirror';
3
3
import 'codemirror/lib/codemirror.css' ;
4
4
import PrettyProps from 'pretty-proptypes' ;
5
5
import ert from 'extract-react-types' ;
6
- import './App .css' ;
7
- import * as uriUtils from './uriUtils' ;
6
+ import './style .css' ;
7
+ import * as uriUtils from './utils/ uriUtils' ;
8
8
9
9
const STARTING_CODE = {
10
10
code : `type ButtonPropType = {
Original file line number Diff line number Diff line change 1
1
.container {
2
2
display : flex;
3
3
height : calc (100vh - 80px );
4
+ overflow : scroll;
4
5
}
5
6
6
7
.container .block {
17
18
height : 100% ;
18
19
}
19
20
20
-
21
-
22
21
.error-container {
23
22
position : absolute;
24
23
bottom : 0 ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments