mastodon/app/javascript/flavours/glitch/actions/app.ts

10 lines
241 B
TypeScript
Raw Normal View History

import { createAction } from '@reduxjs/toolkit';
import type { LayoutType } from '../is_mobile';
interface ChangeLayoutPayload {
layout: LayoutType;
}
export const changeLayout =
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');