Skip to content
Snippets Groups Projects
Commit 0a458ed2 authored by Andrew Herold's avatar Andrew Herold
Browse files

Checkpoint 2 commit. Added barebones view

parent d3694efd
No related branches found
No related tags found
No related merge requests found
import React from 'react'; import React from 'react';
import { Route } from 'react-router-dom'; import { Route } from 'react-router-dom';
import { Counter } from './features/counter/counter.js'; import { CatchRateCalc } from './features/catchRateCalc/catchRateCalc.js';
export function App() { export function App() {
return ( return (
<> <>
<Route exact path={'/'}> <Route exact path={'/'}>
<Counter label={'Taps'} /> <CatchRateCalc label={'Taps'} />
</Route> </Route>
</> </>
); );
......
import React from 'react';
export function CatchRateCalc() {
return (
<main>
[placeholder text]
</main>
);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment