From 086a9791d64f2daf382b7fe60a6075d2ec087271 Mon Sep 17 00:00:00 2001 From: cswimr Date: Sat, 28 Dec 2024 12:47:00 -0500 Subject: [PATCH] refactor(tailwindcss): cleanup --- src/tailwindcss/src/search-documentation.tsx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/tailwindcss/src/search-documentation.tsx b/src/tailwindcss/src/search-documentation.tsx index 522a58b..209dcd1 100644 --- a/src/tailwindcss/src/search-documentation.tsx +++ b/src/tailwindcss/src/search-documentation.tsx @@ -1,7 +1,6 @@ import { List } from "@project-gauntlet/api/components"; import React, { ReactElement, useState } from "react"; import documentation from "./documentation/tailwind-css"; -import { Clipboard } from "@project-gauntlet/api/helpers"; import open from "../../../utils/open-url"; // @ts-expect-error gauntlet uses deno and not node @@ -11,24 +10,13 @@ const denoCore: DenoCore = Deno[Deno.internal].core; export default function SearchDocumentation(): ReactElement { const [searchText, setSearchText] = useState(""); + //TODO - Migrate this to an Action, so that we can also have a copy to clipboard feature const onClick = async (url: string) => { await open(url); - //await Clipboard.writeText(url); }; return ( - - // { - // await Clipboard.writeText(item.url); - // }} - // /> - // - // } - > +