Skip to content

Commit 161232a

Browse files
committed
Refactor
1 parent a0a84e0 commit 161232a

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

src/app/components/App/index.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ export interface IProps {
1212

1313
function App({ store }: IProps) {
1414
return (
15-
<div>
16-
<div className="container">
17-
<Nav store={store} />
18-
{store.selectedMonitorId ? <Content store={store} /> : <Splash />}
19-
</div>
15+
<div className="container">
16+
<Nav store={store} />
17+
{store.selectedMonitorId ? <Content store={store} /> : <Splash />}
2018
</div>
2119
)
2220
}

tsconfig.json

+1-19
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,7 @@
66
"module": "commonjs",
77
"jsx": "react",
88
"strict": true,
9-
10-
/* Module Resolution Options */
11-
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
12-
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
13-
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
14-
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
15-
// "typeRoots": [], /* List of folders to include type definitions from. */
16-
// "types": [], /* Type declaration files to be included in compilation. */
17-
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
18-
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
19-
20-
/* Source Map Options */
21-
// "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
22-
// "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
23-
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
24-
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
25-
26-
/* Experimental Options */
27-
"experimentalDecorators": true /* Enables experimental support for ES7 decorators. */
9+
"experimentalDecorators": true
2810
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
2911
}
3012
}

0 commit comments

Comments
 (0)