portainer/app/react-tools/RootProvider.tsx

11 lines
319 B
TypeScript
Raw Normal View History

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