Skip to content

Commit 2d9fa22

Browse files
committed
chore: add types of userAgent in appProvider
1 parent 56f02ab commit 2d9fa22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/providers/AppProvider.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
import { appContext } from '@/contexts/appContext';
44
import { Theme, useMediaQuery } from '@mui/material';
5+
import { userAgent } from 'next/server';
56
import { FC, PropsWithChildren } from 'react';
67
export interface AppProviderProps {
7-
userAgent: any;
8+
userAgent: ReturnType<typeof userAgent>;
89
}
910
const AppProvider: FC<PropsWithChildren<AppProviderProps>> = ({
1011
children,

0 commit comments

Comments
 (0)