diff --git a/src/lib/hotkeys/index.native.tsx b/src/lib/hotkeys/index.native.tsx index 0bfce1975c..b5562c9c62 100644 --- a/src/lib/hotkeys/index.native.tsx +++ b/src/lib/hotkeys/index.native.tsx @@ -1,7 +1,5 @@ -import React from 'react' - -export function Provider({children}: React.PropsWithChildren) { - return <>{children} +export function Provider({children}: {children: React.ReactNode}) { + return children } export function useHotkeysContext() { diff --git a/src/lib/hotkeys/index.tsx b/src/lib/hotkeys/index.tsx index 6cddf3b13b..17e2c9c7bd 100644 --- a/src/lib/hotkeys/index.tsx +++ b/src/lib/hotkeys/index.tsx @@ -1,4 +1,3 @@ -import React from 'react' import {useLingui} from '@lingui/react/macro' import { HotkeysProvider,