Skip to content

Commit

Permalink
feat(weimap): add custom link
Browse files Browse the repository at this point in the history
  • Loading branch information
leomelki committed Sep 20, 2024
1 parent 61c3da9 commit 9111ed0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Template/Default.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useContext } from "react"
import {Route, Switch} from "react-router-dom"
import {Redirect, Route, Switch} from "react-router-dom"
import Events from "../../pages/default/calendar"
import Event from "../../pages/default/event"
import Logout from "../../pages/security/Logout"
Expand Down Expand Up @@ -54,6 +54,10 @@ const DefaultTemplate: React.FC = () => {
<Route path="/wei" component={WeiPage} />
<Route path="/isepdor" component={IsepDor} />
<Route path="/c/isepdor" component={IsepDor} />
<Route path="/c/map" render={_ => <Redirect to={{
pathname: "/wei/map",
}}/>} />

<Route path="/c" component={CustomComing} />
<Route path="/setting" component={Setting} />
<Route path="/logout" component={Logout} />
Expand Down

0 comments on commit 9111ed0

Please sign in to comment.