Skip to content

Commit

Permalink
Remove unused id
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Sep 10, 2024
1 parent fa78436 commit bd9988e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/fulfillment-details.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<strong>Action Required</strong>
{/if}
</p>
<ShipmentStatus id={fulfillment?.shipment?.id} status={getStatus(fulfillment)} />
<ShipmentStatus status={getStatus(fulfillment)} />
</div>
<ItemDetails items={fulfillment.items} />
{#if fulfillment.payment}
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/shipment-status.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script lang="ts">
export let id: string | undefined = undefined;
export let status = '';
const inactiveStatuses = ['pending', 'unavailable', 'cancelled', 'failed'];
Expand Down

0 comments on commit bd9988e

Please sign in to comment.