diff options
author | poeti8 <ezzati.upt@gmail.com> | 2020-02-23 11:52:00 +0300 |
---|---|---|
committer | poeti8 <ezzati.upt@gmail.com> | 2020-02-23 11:52:00 +0300 |
commit | 4270107f4aadf0f5d2ade106720e25fcabeb0c26 (patch) | |
tree | d8adf8f4f9bc34735a7f2cec2b1847b0e005c394 /client | |
parent | c03104fa6747f5ce9e631d229814773104134fe7 (diff) |
Revert "fix: add key to modals"
This reverts commit c03104fa6747f5ce9e631d229814773104134fe7.
Diffstat (limited to 'client')
-rw-r--r-- | client/components/LinksTable.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/components/LinksTable.tsx b/client/components/LinksTable.tsx index eb03616..ea9be27 100644 --- a/client/components/LinksTable.tsx +++ b/client/components/LinksTable.tsx @@ -292,7 +292,7 @@ const Row: FC<RowProps> = ({ index, link, setDeleteModal }) => { </Td> </Tr> {showEdit && ( - <EditContent key={link.id} px={[3, 3, 24]} py={[3, 3, 24]}> + <EditContent px={[3, 3, 24]} py={[3, 3, 24]}> <Col as="form" alignItems="flex-start" onSubmit={onEdit}> <Flex alignItems="flex-start"> <Col alignItems="flex-start" mr={[0, 3, 3]}> @@ -366,7 +366,6 @@ const Row: FC<RowProps> = ({ index, link, setDeleteModal }) => { </EditContent> )} <Modal - key={link.id} id="table-qrcode-modal" minWidth="max-content" show={qrModal} @@ -377,7 +376,6 @@ const Row: FC<RowProps> = ({ index, link, setDeleteModal }) => { </RowCenter> </Modal> <Modal - key={link.id} id="table-ban-modal" show={banModal} closeHandler={() => setBanModal(false)} |