diff --git a/minimal-app/src/__snapshots__/app.test.js.snap b/minimal-app/src/__snapshots__/app.test.js.snap index 6c4af2a43dfc3c664bd87d48435c0d194dd57066..d7852e2623fa6cdce6445a5dc81782681a149c98 100644 --- a/minimal-app/src/__snapshots__/app.test.js.snap +++ b/minimal-app/src/__snapshots__/app.test.js.snap @@ -1,3 +1,9 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`the app has one labeled button that displays the value from the store 1`] = `<div />`; +exports[`the app has one labeled button that displays the value from the store 1`] = ` +<div> + <main> + [placeholder text] + </main> +</div> +`; diff --git a/minimal-app/src/app.js b/minimal-app/src/app.js index 6cdd6f50397d60636945f2405d6f0857a811bf6f..b66a537a94cca5357b2957936099d6ca190e86ac 100644 --- a/minimal-app/src/app.js +++ b/minimal-app/src/app.js @@ -1,11 +1,13 @@ import { Routes, Route } from 'react-router-dom'; // import { Counter } from './features/counter/counter.js'; +import { MyApp } from './features/myApp/myApp'; export function App() { const page = <> - {/* <Counter label={'Taps'} /> */} + { <MyApp/> + /* <Counter label={'Taps'} /> */} </>; return ( <Routes> diff --git a/minimal-app/src/features/myApp/myApp.js b/minimal-app/src/features/myApp/myApp.js new file mode 100644 index 0000000000000000000000000000000000000000..92e0837d132f1316f3cabc2d2d0535d2917abadf --- /dev/null +++ b/minimal-app/src/features/myApp/myApp.js @@ -0,0 +1,7 @@ +export function MyApp() { + return ( + <main> + [placeholder text] + </main> + ); +}