diff --git a/package.json b/package.json index dc3ee6d..172fb1b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "superagent": "^7.1.6" }, "scripts": { - "start": "PORT=3000 react-scripts start", + "start": "PORT=3006 react-scripts start", "build": "react-scripts build", "predeploy": "npm run build", "deploy": "gh-pages -b gh-pages -d build", diff --git a/public/index.html b/public/index.html index 4cf1963..a7d5d52 100644 --- a/public/index.html +++ b/public/index.html @@ -1,5 +1,5 @@ - + diff --git a/src/containers/NotFound.jsx b/src/containers/NotFound.jsx new file mode 100644 index 0000000..cf866ac --- /dev/null +++ b/src/containers/NotFound.jsx @@ -0,0 +1,12 @@ +import { Link } from 'react-router-dom' + +export default function NotFound() { + + return ( + <> + Page not found (404) +
+ Return Home + + ) +} \ No newline at end of file diff --git a/src/index.js b/src/index.js index 8036c10..6879572 100644 --- a/src/index.js +++ b/src/index.js @@ -1,9 +1,4 @@ -import React from 'react' +import ReactDOM from 'react-dom' import App from './App' -const root = ReactDOM.createRoot(document.getElementById('root')); -root.render( - - - -) \ No newline at end of file +ReactDOM.createRoot(document.getElementById('root')).render() \ No newline at end of file diff --git a/src/services/index.js b/src/services/index.js deleted file mode 100644 index 3deda80..0000000 --- a/src/services/index.js +++ /dev/null @@ -1 +0,0 @@ -export { } \ No newline at end of file