From 96eb232fc08e25072f1c81845c95ec0eeabbcc1c Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Wed, 6 Jan 2021 09:24:00 -0700 Subject: [PATCH] NestsContainer: make ID field CopyOnClick --- .../scripts/components/admin/nests/NestsContainer.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/scripts/components/admin/nests/NestsContainer.tsx b/resources/scripts/components/admin/nests/NestsContainer.tsx index 2977215da..a5da70391 100644 --- a/resources/scripts/components/admin/nests/NestsContainer.tsx +++ b/resources/scripts/components/admin/nests/NestsContainer.tsx @@ -1,3 +1,4 @@ +import CopyOnClick from '@/components/elements/CopyOnClick'; import React, { useContext, useEffect, useState } from 'react'; import getNests, { Context as NestsContext } from '@/api/admin/nests/getNests'; import NewNestButton from '@/components/admin/nests/NewNestButton'; @@ -100,12 +101,18 @@ const NestsContainer = () => { - {nest.id} + + + {nest.id} + + + {nest.name} + {nest.description} ))