Skip to content

Commit

Permalink
minor bug fixed on wrong import for member approval
Browse files Browse the repository at this point in the history
  • Loading branch information
Dileepadari committed Oct 20, 2024
1 parent 8a8105f commit 4b5b135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/members/MemberActions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Icon from "components/Icon";
import ConfirmDialog from "components/ConfirmDialog";
import { useToast } from "components/Toast";

import { approveMember } from "actions/members/approve/server_action";
import { approveMemberAction } from "actions/members/approve/server_action";
import { deleteMemberAction } from "actions/members/delete/server_action";

export function EditMember({ sx }) {
Expand Down Expand Up @@ -94,7 +94,7 @@ export function ApproveAllMember({ sx }) {
const [dialog, setDialog] = useState(false);

const approveMember = async () => {
let res = await approveMember({
let res = await approveMemberAction({
cid: id?.split(encodeURIComponent(":"))[0],
uid: id?.split(encodeURIComponent(":"))[1],
rid: null,
Expand Down

0 comments on commit 4b5b135

Please sign in to comment.