-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade react-router to v6 * Fix tests * Code smells * Fix various TypeScript errors * Add missing useEffect dependency * Fix QueueItem storybook story * Undo stupid change where I confused path params with URL search params * Forgot a few wildcards * Add test for Prompt * Fix <Navigate> to props in AccountCreationApp * Make all navigation relative * Fix tests * Use absolute paths in places where it makes more sense * A few navigation bugfixes * Code smells * Add /reload-app path for reloading whoami query for TenantDataAccess * A little more test coverage for <Prompt> * DRY up App component * Apply style to active-nav-item class instead of using style prop * Revert App changes
- Loading branch information
Showing
116 changed files
with
1,185 additions
and
945 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,14 +1,13 @@ | ||
import React from "react"; | ||
import { Route } from "react-router-dom"; | ||
import { Route, Routes } from "react-router-dom"; | ||
|
||
const HealthChecks: React.FC<{}> = ({ match }: any) => ( | ||
<> | ||
<Route path={match.url + "/ping"} render={() => <div>pong</div>} /> | ||
const HealthChecks = () => ( | ||
<Routes> | ||
<Route path="ping" element={<div>pong</div>} /> | ||
<Route | ||
path={match.url + "/commit"} | ||
render={() => <div>{process.env.REACT_APP_CURRENT_COMMIT}</div>} | ||
path="commit" | ||
element={<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.