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