import { createSlice } from '@reduxjs/toolkit';

const initialState = {
  isFormLoading: false,
};

export const slice = createSlice({
  name: '@@auth/LAYOUT',
  initialState,
  reducers: {
    setFormLoadingAction: (state, action) => {
      state.isFormLoading = action.payload;
    },
  },
});

export const { setFormLoadingAction } = slice.actions;
