refactor(ui/player): fix store type for context
This commit is contained in:
parent
1621f73c69
commit
93f65211a5
1 changed files with 2 additions and 2 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import { createContext } from 'react';
|
||||
import {
|
||||
IWebPlayer,
|
||||
IStore
|
||||
IWebPlayerStore
|
||||
} from 'Player'
|
||||
|
||||
export interface IPlayerContext {
|
||||
player: IWebPlayer
|
||||
store: IStore,
|
||||
store: IWebPlayerStore,
|
||||
}
|
||||
export const defaultContextValue: IPlayerContext = { player: undefined, store: undefined}
|
||||
export const PlayerContext = createContext<IPlayerContext>(defaultContextValue);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue