diff options
author | poeti8 <ezzati.upt@gmail.com> | 2020-02-22 16:13:53 +0300 |
---|---|---|
committer | poeti8 <ezzati.upt@gmail.com> | 2020-02-22 16:13:53 +0300 |
commit | 46e97882309f1122541bc9e33b718bb634e10a42 (patch) | |
tree | d86fe52c984a7993357ab8fadcb595697085b97c /client | |
parent | f7f3843d8d8d8768d2d891e9ba1e8fa0ffc47bef (diff) |
fix: unique id as key
Diffstat (limited to 'client')
-rw-r--r-- | client/components/LinksTable.tsx | 2 |
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> |