Skip to content

Commit 08d4db0

Browse files
committed
fixed lint error
1 parent a71114a commit 08d4db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/components/Contentful/Route.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function ContentfulRoute(props) {
180180
// route is protected by TC Login
181181
// send to login/register with proper retUrl set
182182
const authUrl = config.URL.AUTH;
183-
return <RedirectWithStatus status={401} from={url} to={`${authUrl}?retUrl=${encodeURIComponent(url)}`} />
183+
return <RedirectWithStatus status={401} from={url} to={`${authUrl}?retUrl=${encodeURIComponent(url)}`} />;
184184
}
185185
return redirectToUrl && currentPathname === url ? (
186186
<RedirectWithStatus status={301} from={url} to={redirectToUrl} />

0 commit comments

Comments
 (0)