mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-18 00:23:51 -05:00
Port 0999cb46013ff3d78ae2a195d39d3e28ffd74d24 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
8 lines
223 B
TypeScript
8 lines
223 B
TypeScript
import { createAction } from '@reduxjs/toolkit';
|
|
|
|
type ChangeLayoutPayload = {
|
|
layout: 'mobile' | 'single-column' | 'multi-column';
|
|
};
|
|
export const changeLayout =
|
|
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');
|