gab-social/app/javascript/gabsocial/actions/sidebar.js

15 lines
239 B
JavaScript
Raw Normal View History

2020-05-14 07:03:22 +01:00
export const SIDEBAR_OPEN = 'SIDEBAR_OPEN'
export const SIDEBAR_CLOSE = 'SIDEBAR_CLOSE'
2019-08-15 04:04:03 +01:00
export function openSidebar() {
return {
type: SIDEBAR_OPEN,
2020-05-14 07:03:22 +01:00
}
}
2019-08-15 04:04:03 +01:00
export function closeSidebar() {
return {
type: SIDEBAR_CLOSE,
2020-05-14 07:03:22 +01:00
}
}