1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00
portainer/app/react-tools/RootProvider.tsx

10 lines
319 B
TypeScript

import { UIRouterContextComponent } from '@uirouter/react-hybrid';
import { PropsWithChildren, StrictMode } from 'react';
export function RootProvider({ children }: PropsWithChildren<unknown>) {
return (
<StrictMode>
<UIRouterContextComponent>{children}</UIRouterContextComponent>
</StrictMode>
);
}