diff --git a/src/routes/(app)/history/+page.svelte b/src/routes/(app)/history/+page.svelte
index bfbef12..0f87f8c 100644
--- a/src/routes/(app)/history/+page.svelte
+++ b/src/routes/(app)/history/+page.svelte
@@ -1,15 +1,14 @@
@@ -60,56 +47,13 @@
{#if !isLoading}
{#if data.histories.length}
- {#each sortedByCreatedAt(data.histories) as { name, id, final_price, created_at }}
-
+ {#each sortedByCreatedAt(data.histories) as cost}
+ handleRestore(e.detail)}
+ on:delete={(e) => handleDelete(e.detail)}
+ />
{/each}
{:else}
Trash is empty