mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 11:41:35 +01:00
11 lines
345 B
TypeScript
11 lines
345 B
TypeScript
import { createAction } from '@reduxjs/toolkit';
|
|
import type { LayoutType } from '../is_mobile';
|
|
|
|
export const focusApp = createAction('APP_FOCUS');
|
|
export const unfocusApp = createAction('APP_UNFOCUS');
|
|
|
|
type ChangeLayoutPayload = {
|
|
layout: LayoutType;
|
|
};
|
|
export const changeLayout =
|
|
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');
|