Skip to content

Commit

Permalink
feat: temp bug fixed facebook/create-react-app#9429
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ong-c committed Nov 18, 2020
1 parent 85952fd commit 33b83dd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
6 changes: 4 additions & 2 deletions template/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from "react";
import { Route, Switch } from "react-router-dom";
import HomePage from "@/pages/HomePage";

import HomePage from "./pages/HomePage";
import React from "react";

function App() {
return (
<Switch>
Expand Down
4 changes: 2 additions & 2 deletions template/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import App from "@/App";
import App from "./App";
import { BrowserRouter } from 'react-router-dom';
import { Provider } from "react-redux";
import React from "react";
import ReactDOM from "react-dom";
import store from "@/modules";
import store from "./modules";

ReactDOM.render(
<Provider store={store}>
Expand Down
3 changes: 1 addition & 2 deletions template/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.paths.json",
"compilerOptions": {
"target": "es5",
"target": "es2016",
"lib": [
"dom",
"dom.iterable",
Expand Down
8 changes: 0 additions & 8 deletions template/tsconfig.paths.json

This file was deleted.

0 comments on commit 33b83dd

Please sign in to comment.