We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f02ab commit 2d9fa22Copy full SHA for 2d9fa22
src/providers/AppProvider.tsx
@@ -2,9 +2,10 @@
2
3
import { appContext } from '@/contexts/appContext';
4
import { Theme, useMediaQuery } from '@mui/material';
5
+import { userAgent } from 'next/server';
6
import { FC, PropsWithChildren } from 'react';
7
export interface AppProviderProps {
- userAgent: any;
8
+ userAgent: ReturnType<typeof userAgent>;
9
}
10
const AppProvider: FC<PropsWithChildren<AppProviderProps>> = ({
11
children,
0 commit comments