fix react types

This commit is contained in:
vchikalkin 2025-04-16 12:47:36 +03:00
parent db9af07dab
commit 1883280dca
3 changed files with 5 additions and 5 deletions

View File

@ -48,5 +48,5 @@ export function OrderContextProvider({ children }: Readonly<PropsWithChildren>)
],
);
return <OrderContext.Provider value={value}>{children}</OrderContext.Provider>;
return <OrderContext value={value}>{children}</OrderContext>;
}

4
pnpm-lock.yaml generated
View File

@ -13,10 +13,10 @@ catalogs:
specifier: ^20
version: 20.17.8
'@types/react':
specifier: ^19.1.0
specifier: ^19.1.2
version: 19.1.2
'@types/react-dom':
specifier: ^19.1.0
specifier: ^19.1.2
version: 19.1.2
'@vchikalkin/eslint-config-awesome':
specifier: ^2.2.2

View File

@ -4,8 +4,8 @@ packages:
catalog:
"@apollo/client": ^3.12.4
"@types/node": ^20
"@types/react": ^19.1.0
"@types/react-dom": ^19.1.0
"@types/react": ^19.1.2
"@types/react-dom": ^19.1.2
"@vchikalkin/eslint-config-awesome": ^2.2.2
autoprefixer: ^10.4.20
dotenv-cli: ^7.4.4