Skip to content

Commit

Permalink
fix(expo/[orderId]): confirmed product button should only show on buyer
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Dec 6, 2023
1 parent 403b8bf commit ba0a897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/expo/src/app/(app)/order/[orderId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export default function OrderDetailScreen() {
/>
</View>
)}
{orders?.status === "shipped" && (
{isSeller && !+isSeller && orders?.status === "shipped" && (
<Button
label="Konfirmasi pesanan diterima"
bg-secondary
Expand Down

0 comments on commit ba0a897

Please sign in to comment.