Minor hotkeys nit (#10184)
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
import React from 'react'
|
export function Provider({children}: {children: React.ReactNode}) {
|
||||||
|
return children
|
||||||
export function Provider({children}: React.PropsWithChildren<unknown>) {
|
|
||||||
return <>{children}</>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function useHotkeysContext() {
|
export function useHotkeysContext() {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import React from 'react'
|
|
||||||
import {useLingui} from '@lingui/react/macro'
|
import {useLingui} from '@lingui/react/macro'
|
||||||
import {
|
import {
|
||||||
HotkeysProvider,
|
HotkeysProvider,
|
||||||
|
|||||||
Reference in New Issue
Block a user