Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
xgovernor committed Jan 31, 2024
1 parent 9d5beac commit 325460f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/store/actions/member.action.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
import { createSlice } from "@reduxjs/toolkit";

interface IMember {
interface IMemberState {
data: {
member: Object;
members: Object[];
members: {
id: string;
avatar: string;
name: string;
gender: string;
blood_group: string;
last_blood_donation: string;
phone: string;
location: string;
status: string;
role: string;
}[];
total: number;
page: number;
limit: number;
Expand All @@ -14,7 +25,7 @@ interface IMember {
error: string | null;
}

const initialState: IMember = {
const initialState: IMemberState = {
data: {
member: {},
members: [],
Expand Down

1 comment on commit 325460f

@vercel
Copy link

@vercel vercel bot commented on 325460f Jan 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.