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-23 11:52:00 +0300
committerpoeti8 <ezzati.upt@gmail.com>2020-02-23 11:52:00 +0300
commit4270107f4aadf0f5d2ade106720e25fcabeb0c26 (patch)
treed8adf8f4f9bc34735a7f2cec2b1847b0e005c394 /client
parentc03104fa6747f5ce9e631d229814773104134fe7 (diff)
Revert "fix: add key to modals"
This reverts commit c03104fa6747f5ce9e631d229814773104134fe7.
Diffstat (limited to 'client')
-rw-r--r--client/components/LinksTable.tsx4
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)}