Skip to content

Commit

Permalink
remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
iacopolea committed Jun 24, 2024
1 parent ab789a9 commit a7a6948
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const SurveyButton = ({ campaign_id }: { campaign_id: string }) => {
if (!data || isError || isLoading) return null;
const hasSurvey = () => data.size > 0;
return (
// eslint-disable-next-line react/jsx-no-target-blank
<a
href={
hasSurvey()
Expand Down
1 change: 0 additions & 1 deletion src/pages/campaigns/components/campaignForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import CsmSelect from "./fields/roles/CsmSelect";
import PmSelect from "./fields/roles/PMSelect";
import ResearcherSelect from "./fields/roles/ResearcherSelect";
import TlSelect from "./fields/roles/TLSelect";
import { useLocation } from "react-router-dom";
import { SurveyButton } from "./SurveyButton";

interface FormProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { Card } from "@appquality/appquality-design-system";
import styled from "styled-components";
import { AgeFilters } from "./FilterItems/AgeFilters";
import { BughuntingLevelFilters } from "./FilterItems/BughuntingLevelFilters";
import { DeviceFilters } from "./FilterItems/DeviceFilters";
Expand Down

0 comments on commit a7a6948

Please sign in to comment.