From 0a458ed2fec81d1be2388e6adbb04ad9e655cfec Mon Sep 17 00:00:00 2001
From: unknown <aherold5@huskers.unl.edu>
Date: Mon, 7 Sep 2020 04:13:08 -0500
Subject: [PATCH] Checkpoint 2 commit. Added barebones view
---
catch-rate-calc/src/app.js | 4 ++--
.../src/features/catchRateCalc/catchRateCalc.js | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 catch-rate-calc/src/features/catchRateCalc/catchRateCalc.js
diff --git a/catch-rate-calc/src/app.js b/catch-rate-calc/src/app.js
index 1b3e642..6526f88 100644
--- a/catch-rate-calc/src/app.js
+++ b/catch-rate-calc/src/app.js
@@ -1,13 +1,13 @@
import React from 'react';
import { Route } from 'react-router-dom';
-import { Counter } from './features/counter/counter.js';
+import { CatchRateCalc } from './features/catchRateCalc/catchRateCalc.js';
export function App() {
return (
<>
<Route exact path={'/'}>
- <Counter label={'Taps'} />
+ <CatchRateCalc label={'Taps'} />
</Route>
</>
);
diff --git a/catch-rate-calc/src/features/catchRateCalc/catchRateCalc.js b/catch-rate-calc/src/features/catchRateCalc/catchRateCalc.js
new file mode 100644
index 0000000..1bc8494
--- /dev/null
+++ b/catch-rate-calc/src/features/catchRateCalc/catchRateCalc.js
@@ -0,0 +1,9 @@
+import React from 'react';
+
+export function CatchRateCalc() {
+ return (
+ <main>
+ [placeholder text]
+ </main>
+ );
+}
\ No newline at end of file
--
GitLab