Skip to content

Commit

Permalink
feat: clean code from unused pages
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstefanequilobe committed Mar 16, 2022
1 parent 77dc4f2 commit 9725b08
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 48 deletions.
10 changes: 2 additions & 8 deletions src/navigation/AppNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,12 @@ const AppNavigator = () => {
<Route exact path="/" render={() => <Redirect to="/projects" />}>
<Pages.Projects />
</Route>
<Route exact path="/units">
<Route path="/units">
<Pages.Units />
</Route>
<Route exact path="/projects">
<Route path="/projects">
<Pages.Projects />
</Route>
<Route exact path="/projects/add">
<Pages.AddProject />
</Route>
<Route exact path="/units/add">
<Pages.AddUnits />
</Route>
<Route exact path="/storybook">
<Pages.StoryBook />
</Route>
Expand Down
19 changes: 0 additions & 19 deletions src/pages/AddProject/index.js

This file was deleted.

19 changes: 0 additions & 19 deletions src/pages/AddUnits/index.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
export * from './Home';
export * from './Units';
export * from './Projects';
export * from './AddProject';
export * from './AddUnits';
export * from './StoryBook';

0 comments on commit 9725b08

Please sign in to comment.