Fix tests

This commit is contained in:
Oliver Sand
2021-01-29 14:54:13 +01:00
parent 54c7d02f7b
commit ac396e8e0b
4 changed files with 6 additions and 37 deletions
@@ -36,8 +36,8 @@ const Route: (props: SubRoute) => null = () => null;
attachComponentData(Route, 'core.gatherMountPoints', true);
export function createSubRoutesFromChildren(children: ReactNode): SubRoute[] {
// Directly comparing child.type with Route will not work with
// react-hot-loader for example in storybook
// Directly comparing child.type with Route will not work with in
// combination with react-hot-loader in storybook
// https://github.com/gaearon/react-hot-loader/issues/304
const routeType = (
<Route path="" title="">