We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac2c2b commit 7628335Copy full SHA for 7628335
src/App.tsx
@@ -231,10 +231,11 @@ export default function App() {
231
232
const renderFirstNavigatedPage = () => {
233
if (location.pathname && location.pathname.includes('approve')) {
234
+ console.log(`${approvalType?.toLocaleLowerCase()}/approve?token=${approvalToken}`)
235
return (
236
<Route
237
exact
- path={`${approvalType?.toLocaleLowerCase()}/approve?token=${approvalToken}`}
238
+ path={`/${approvalType?.toLocaleLowerCase()}/approve`}
239
render={() =>
240
GenericDirectApprovalModal && <GenericDirectApprovalModal approvalType={approvalType} />
241
}
0 commit comments