From 846406c29d4e3e9a34c8c5fd58b640b8c9ef7d66 Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Tue, 13 Feb 2024 15:22:16 +0900 Subject: [PATCH] linters --- ui/src/components/App.tsx | 1 - ui/src/components/elements/ApiActionResponse.tsx | 2 +- ui/src/components/elements/ApiActionTabs.tsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/components/App.tsx b/ui/src/components/App.tsx index 8fbb6e5..fb1814c 100644 --- a/ui/src/components/App.tsx +++ b/ui/src/components/App.tsx @@ -30,7 +30,6 @@ export default function App() { const [showPut] = useLocalStorage('showPut', 'true'); const [showPatch] = useLocalStorage('showPatch', 'true'); const [showHead] = useLocalStorage('showHead', 'false'); - const [savePreviousResponse] = useLocalStorage('savePreviousResponse', 'false'); const searchOptions = { keys: ['uri', 'doc_block'], diff --git a/ui/src/components/elements/ApiActionResponse.tsx b/ui/src/components/elements/ApiActionResponse.tsx index d8f5f87..3bad8fd 100644 --- a/ui/src/components/elements/ApiActionResponse.tsx +++ b/ui/src/components/elements/ApiActionResponse.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react'; +import React, { useEffect } from 'react'; import "ace-builds"; import jsonWorkerUrl from 'ace-builds/src-min-noconflict/worker-json?url'; diff --git a/ui/src/components/elements/ApiActionTabs.tsx b/ui/src/components/elements/ApiActionTabs.tsx index a28260c..ecb9d20 100644 --- a/ui/src/components/elements/ApiActionTabs.tsx +++ b/ui/src/components/elements/ApiActionTabs.tsx @@ -6,7 +6,6 @@ import { CircleStackIcon, DocumentTextIcon, TableCellsIcon, - EllipsisVerticalIcon, ReceiptRefundIcon } from '@heroicons/react/24/outline'