From 937fa6f6fa086df2663b2b183969141b98705d71 Mon Sep 17 00:00:00 2001
From: Aarnav Tale
Date: Sun, 2 Jun 2024 01:34:58 -0400
Subject: [PATCH] fix: use proper route ids for key mapping
---
app/routes/_data.machines.$id.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/routes/_data.machines.$id.tsx b/app/routes/_data.machines.$id.tsx
index 05a0089..a627819 100644
--- a/app/routes/_data.machines.$id.tsx
+++ b/app/routes/_data.machines.$id.tsx
@@ -149,9 +149,9 @@ export default function Page() {
)
- : [...routes, ...routes].map((route, i) => (
+ : routes.map((route, i) => (
- ))}
+ ))}
)