1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 13:26:40 +07:00

fetchimg video infos

This commit is contained in:
Fedor Katurov 2020-04-19 11:55:27 +07:00
parent 1056f0ff72
commit c74ab01927
9 changed files with 60 additions and 13 deletions

View file

@ -1,6 +1,11 @@
import { IPlayerState } from './reducer';
import { PLAYER_ACTIONS } from './constants';
export const playerSet = (player: Partial<IPlayerState>) => ({
type: PLAYER_ACTIONS.SET,
player,
});
export const playerSetFile = (file: IPlayerState['file']) => ({
type: PLAYER_ACTIONS.SET_FILE,
file,