From 54a08275433b88097a014ad83d534f722022cc1a Mon Sep 17 00:00:00 2001 From: jherman5 <jherman5@huskers.unl.edu> Date: Wed, 26 Aug 2020 20:37:37 -0500 Subject: [PATCH] Added custom component file patternGeneration. Edited app.js to import from said file. Checkpoint 2. --- simon-says/debug.log | 42 +++++++++++++++++++ simon-says/src/app.js | 4 +- .../features/patternGen/patternGeneration.js | 9 ++++ 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 simon-says/src/features/patternGen/patternGeneration.js diff --git a/simon-says/debug.log b/simon-says/debug.log index 818cf06..07734ac 100644 --- a/simon-says/debug.log +++ b/simon-says/debug.log @@ -61,3 +61,45 @@ [0826/200529.143:ERROR:crash_report_database_win.cc(469)] failed to stat report [0826/200529.143:ERROR:crash_report_database_win.cc(469)] failed to stat report [0826/200529.143:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.627:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.628:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.628:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.628:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.628:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.629:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.630:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/202430.630:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.113:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.114:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.114:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.114:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.114:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.114:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.115:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.116:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0826/203439.116:ERROR:crash_report_database_win.cc(469)] failed to stat report diff --git a/simon-says/src/app.js b/simon-says/src/app.js index 1b3e642..b1f7ffa 100644 --- a/simon-says/src/app.js +++ b/simon-says/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 { Pattern } from './features/patternGen/patternGeneration'; export function App() { return ( <> <Route exact path={'/'}> - <Counter label={'Taps'} /> + <Pattern label={'Taps'} /> </Route> </> ); diff --git a/simon-says/src/features/patternGen/patternGeneration.js b/simon-says/src/features/patternGen/patternGeneration.js new file mode 100644 index 0000000..007c513 --- /dev/null +++ b/simon-says/src/features/patternGen/patternGeneration.js @@ -0,0 +1,9 @@ +import React from 'react'; + +export function Pattern() { + return ( + <main> + [placeholder text] + </main> + ); +} \ No newline at end of file -- GitLab