26f3b35cc7
this way, activities are always logged while the app is open, and the activity log survives local navigations
11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
export const ACTIVITY_LOG_RESET ='ACTIVITY_LOG_RESET';
|
|
export const ACTIVITY_LOG_ADD = 'ACTIVITY_LOG_ADD';
|
|
|
|
export const resetActivityLog = () => ({
|
|
type: ACTIVITY_LOG_RESET,
|
|
});
|
|
|
|
export const addActivityLog = value => ({
|
|
type: ACTIVITY_LOG_ADD,
|
|
value,
|
|
});
|