Skip to content

Commit 662ad21

Browse files
claimssssssss
1 parent baf834f commit 662ad21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/controllers/user.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const claimItem = async (req, res) => {
3030
if (existingClaim) {
3131
return res
3232
.status(400)
33-
.json({ message: "You already have a pending claim for this item" });
33+
.json({ message: "You have already claimed this item. Please wait for admin approval." });
3434
}
3535

3636
// Check if user has a rejected claim for this item (prevent re-claiming)

frontend/src/pages/ItemDetail.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ const ItemDetail = () => {
279279
: userHasRejectedClaim
280280
? 'Your Claim Was Rejected - Cannot Re-claim'
281281
: userHasClaimed
282-
? 'You Already Have a Pending Claim'
282+
? 'Already Claimed - Awaiting Approval'
283283
: (item.owner && item.owner._id === user?._id)
284284
? 'You already claimed this'
285285
: 'Request to Claim This Item'}

0 commit comments

Comments
 (0)