Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
This repo was extracted from another project, and there was a remnant of
some code from the other project. This removes the Navigation component
from the main app component.

Fixes #1
  • Loading branch information
dphaener committed Dec 1, 2016
1 parent 48b315f commit e8fbc9a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@
// Vendor
import React from 'react';

// Local
import Navigation from './components/shared/navigation';

// Types
export type AppInput = {
children: Object | Array<Object>,
router: Object
children: Object | Array<Object>
};

// Main Component
export const App = ({
children,
router
children
}: AppInput): React$Element<any> =>
<div style={{ marginTop: '50px', padding: '20px' }}>
<Navigation router={router} />
<div>
{children}
</div>;

Expand Down

0 comments on commit e8fbc9a

Please sign in to comment.