2023-05-03 08:28:39 -05:00
|
|
|
import { createAction } from '@reduxjs/toolkit';
|
2023-05-10 05:59:29 -05:00
|
|
|
|
2023-05-08 08:10:21 -05:00
|
|
|
import type { LayoutType } from '../is_mobile';
|
2023-05-03 08:28:39 -05:00
|
|
|
|
2023-05-10 05:59:29 -05:00
|
|
|
interface ChangeLayoutPayload {
|
2023-05-08 08:10:21 -05:00
|
|
|
layout: LayoutType;
|
2023-05-10 05:59:29 -05:00
|
|
|
}
|
2023-05-03 08:28:39 -05:00
|
|
|
export const changeLayout =
|
|
|
|
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');
|