Skip to content

Commit

Permalink
change route name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Apr 29, 2024
1 parent 2bbf8b1 commit 01663dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export default function Header({ back }) {
className="hide-small"
target="_blank"
rel="noopener noreferrer"
to="/submit"
to="/attest
"
>
Make a list
</NavLink>
Expand Down
2 changes: 1 addition & 1 deletion src/components/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function Header() {
<Link
target="_blank"
rel="noopener noreferrer"
to="/submit"
to="/attest"
>
{'->'} Make your own
</Link>
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Home from './pages/home'
import Why from './pages/why'
import SubmitForm from './pages/form'
import * as serviceWorker from './serviceWorker'
import { HashRouter as Router, Route, Routes } from 'react-router-dom';
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom'
import { Web3Provider } from './utils/web3wallet'

ReactDOM.render(
Expand All @@ -15,7 +15,7 @@ ReactDOM.render(
<Routes>
<Route exact path="/" element={<Home />} />
<Route path="/schemas" element={<List />} />
<Route path="/submit" element={<SubmitForm />} />
<Route path="/attest" element={<SubmitForm />} />
<Route path="/why" element={<Why />} />
</Routes>
</Router>
Expand Down

0 comments on commit 01663dd

Please sign in to comment.