Skip to content

Commit

Permalink
do i need to import React?
Browse files Browse the repository at this point in the history
  • Loading branch information
andreu-vall committed Nov 8, 2023
1 parent 8661a00 commit 39d5050
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand Down
3 changes: 3 additions & 0 deletions src/components/Signup.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import React, { useState } from "react";
import { Link, useHistory, useNavigate } from "react-router-dom";

/*
//Logic packages
import { useState } from "react";
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ root.render(
<Router>
<Routes>
<Route path="/" element={<Login />} />
<Route path="/recipeDetail" element={<RecipeDetail />} />
<Route path="/postRecipe" element={<PostRecipe />} />
<Route path="/logout" element={<Logout />} />
<Route path="/login" element={<Login />} />
Expand Down

0 comments on commit 39d5050

Please sign in to comment.