mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-26 01:54:03 -05:00
468dfffd26
Port 5bc8e2d1fd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
9 lines
238 B
TypeScript
9 lines
238 B
TypeScript
import { createAction } from '@reduxjs/toolkit';
|
|
import type { LayoutType } from '../is_mobile';
|
|
|
|
type ChangeLayoutPayload = {
|
|
layout: LayoutType;
|
|
};
|
|
export const changeLayout =
|
|
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');
|