mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
20 lines
378 B
React
20 lines
378 B
React
|
export const TIMELINE_SET = 'TIMELINE_SET';
|
||
|
export const TIMELINE_UPDATE = 'TIMELINE_UPDATE';
|
||
|
|
||
|
|
||
|
export function setTimeline(timeline, statuses) {
|
||
|
return {
|
||
|
type: TIMELINE_SET,
|
||
|
timeline: timeline,
|
||
|
statuses: statuses
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export function updateTimeline(timeline, status) {
|
||
|
return {
|
||
|
type: TIMELINE_UPDATE,
|
||
|
timeline: timeline,
|
||
|
status: status
|
||
|
};
|
||
|
}
|