-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Upgrade react-router to v6 (#3261)"
This reverts commit 46bb4cd.
- Loading branch information
1 parent
cb55645
commit 2768b79
Showing
116 changed files
with
945 additions
and
1,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import { Route, Routes } from "react-router-dom"; | ||
import React from "react"; | ||
import { Route } from "react-router-dom"; | ||
|
||
const HealthChecks = () => ( | ||
<Routes> | ||
<Route path="ping" element={<div>pong</div>} /> | ||
const HealthChecks: React.FC<{}> = ({ match }: any) => ( | ||
<> | ||
<Route path={match.url + "/ping"} render={() => <div>pong</div>} /> | ||
<Route | ||
path="commit" | ||
element={<div>{process.env.REACT_APP_CURRENT_COMMIT}</div>} | ||
path={match.url + "/commit"} | ||
render={() => <div>{process.env.REACT_APP_CURRENT_COMMIT}</div>} | ||
/> | ||
</Routes> | ||
</> | ||
); | ||
|
||
export default HealthChecks; |
2 changes: 1 addition & 1 deletion
2
frontend/src/app/Settings/Facility/Components/OrderingProviderList.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
frontend/src/app/Settings/Facility/ManageFacilitiesContainer.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.