Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorpoeti8 <ezzati.upt@gmail.com>2020-02-22 16:13:53 +0300
committerpoeti8 <ezzati.upt@gmail.com>2020-02-22 16:13:53 +0300
commit46e97882309f1122541bc9e33b718bb634e10a42 (patch)
treed86fe52c984a7993357ab8fadcb595697085b97c /client
parentf7f3843d8d8d8768d2d891e9ba1e8fa0ffc47bef (diff)
fix: unique id as key
Diffstat (limited to 'client')
-rw-r--r--client/components/LinksTable.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/LinksTable.tsx b/client/components/LinksTable.tsx
index 3332b5f..ae9ba49 100644
--- a/client/components/LinksTable.tsx
+++ b/client/components/LinksTable.tsx
@@ -134,7 +134,7 @@ const Row: FC<RowProps> = ({ index, link, setDeleteModal }) => {
return (
<>
- <Tr key={index}>
+ <Tr key={link.id}>
<Td {...ogLinkFlex} withFade>
<ALink href={link.target}>{link.target}</ALink>
</Td>