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 ac5aaf7 commit 5adb229Copy full SHA for 5adb229
src/app/components/RouteDescription.tsx
@@ -7,7 +7,7 @@ type RouteProps = {
7
const RouteDescription = (props: RouteProps): JSX.Element => {
8
// Use new URL to use the url.pathname method.
9
const { actions } = props;
10
- const url = new URL(actions[0].props.routePath);
+ const url: URL = new URL(actions[0].props.routePath);
11
return (
12
<div className='routedescription'>
13
<h3 className='route'>Route: {url.pathname}</h3>
0 commit comments