parent
044c864cde
commit
111a1ef884
5 changed files with 77 additions and 2 deletions
@ -0,0 +1,10 @@ |
||||
/** |
||||
* The type of (redux) action that is dispatched when a conference is removed from the recents list. |
||||
* |
||||
* @type { |
||||
* type: CONFERENCE_REMOVED, |
||||
* conference: Object |
||||
* } |
||||
*/ |
||||
export const CONFERENCE_REMOVED = Symbol('CONFERENCE_REMOVED'); |
||||
|
@ -0,0 +1,19 @@ |
||||
// @flow
|
||||
|
||||
import { CONFERENCE_REMOVED } from './actionTypes'; |
||||
|
||||
/** |
||||
* Notifies that conference is removed from recents list. |
||||
* |
||||
* @param {Object} conference - Conference Details. |
||||
* @returns {{ |
||||
* type: CONFERENCE_REMOVED, |
||||
* conference: Object |
||||
* }} |
||||
*/ |
||||
export function conferenceRemoved(conference: Object) { |
||||
return { |
||||
type: CONFERENCE_REMOVED, |
||||
conference |
||||
}; |
||||
} |
Loading…
Reference in new issue