From 342c076966dcd2ede5341067a069743c09b967d1 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 15 May 2024 20:50:29 +0800 Subject: [PATCH] refactor: remove unused code --- src/client/components/survey/SurveyUsageBtn.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/components/survey/SurveyUsageBtn.tsx b/src/client/components/survey/SurveyUsageBtn.tsx index dd7a3a1..361219f 100644 --- a/src/client/components/survey/SurveyUsageBtn.tsx +++ b/src/client/components/survey/SurveyUsageBtn.tsx @@ -29,8 +29,6 @@ export const SurveyUsageBtn: React.FC = React.memo( surveyId, }); - const fields = info?.payload.items ?? []; - const exampleCode = generateSurveyExampleCode(window.location.origin, info); return (