chore: wrong line

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-06-09 16:22:08 +02:00
parent f93af969cd
commit 0a8b212165
+1 -1
View File
@@ -107,9 +107,9 @@ export const Router = (props: RouterProps) => {
const RedirectingComponent = () => {
const { templateName } = useParams();
const newLink = useRouteRef(selectedTemplateRouteRef);
// eslint-disable-next-line no-console
useEffect(
() =>
// eslint-disable-next-line no-console
console.warn(
'The route /template/:templateName is deprecated, please use the new /template/:namespace/:templateName route instead',
),