import { createSlice } from "@reduxjs/toolkit";
import { LicenseCardActivateState } from "./state";

const initialState: LicenseCardActivateState = {
  apps: {
    isLoading: false,
  },
};
export const licenseCardActivateSlice = createSlice({
  name: "licenseCardActivate",
  initialState,
  reducers: {
    cleanupApps: (state) => {
      state.apps = initialState.apps;
    },
  },
});

export const { cleanupApps } = licenseCardActivateSlice.actions;

export default licenseCardActivateSlice.reducer;
