RL
Size: a a a
RL
ЕК
AB
К👨
Д
<PrivateRoute next={isViewAllCatalog} path="/catalog">
<CatalogGrid viewType={CatalogGridViewType.COMMON} />
</PrivateRoute>const { next, children } = props;
return next ? (
<Route exact path={props.path} >
{children}
</Route>
) : (
<Redirect to="/" />
);VK
<PrivateRoute next={isViewAllCatalog} path="/catalog">
<CatalogGrid viewType={CatalogGridViewType.COMMON} />
</PrivateRoute>const { next, children } = props;
return next ? (
<Route exact path={props.path} >
{children}
</Route>
) : (
<Redirect to="/" />
);VK
<PrivateRoute next={isViewAllCatalog} path="/catalog">
<CatalogGrid viewType={CatalogGridViewType.COMMON} />
</PrivateRoute>const { next, children } = props;
return next ? (
<Route exact path={props.path} >
{children}
</Route>
) : (
<Redirect to="/" />
);VK
RL
VK
<PrivateRoute next={isViewAllCatalog} path="/catalog">
<CatalogGrid viewType={CatalogGridViewType.COMMON} />
</PrivateRoute>const { next, children } = props;
return next ? (
<Route exact path={props.path} >
{children}
</Route>
) : (
<Redirect to="/" />
);E
VK
VK
E

E
VK
E
VK
Replaces the current entry in the stack with a new one.
E
PR