Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88 Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org> Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
10 lines
242 B
TypeScript
10 lines
242 B
TypeScript
import { createAction } from "@reduxjs/toolkit";
|
|
|
|
import { type LayoutType } from "../is_mobile";
|
|
|
|
interface ChangeLayoutPayload {
|
|
layout: LayoutType,
|
|
}
|
|
export const changeLayout =
|
|
createAction<ChangeLayoutPayload>("APP_LAYOUT_CHANGE");
|