mirror of https://github.com/portainer/portainer
11 lines
319 B
TypeScript
11 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>
|
|
);
|
|
}
|