Skip to content

Commit

Permalink
chore(ui): fix ui linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yquansah committed Feb 3, 2024
1 parent 6b3cbec commit 7ad06a3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ui/src/app/flags/Flag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
TrashIcon
} from '@heroicons/react/24/outline';
import 'chartjs-adapter-date-fns';
import { add, formatDistanceToNowStrict, format, parseISO } from 'date-fns';
import { useMemo, useState } from 'react';
import { formatDistanceToNowStrict, parseISO } from 'date-fns';
import { useState } from 'react';
import { useSelector } from 'react-redux';
import { NavLink, Outlet, useNavigate, useParams } from 'react-router-dom';
import { selectReadonly } from '~/app/meta/metaSlice';
Expand All @@ -15,7 +15,6 @@ import {
} from '~/app/namespaces/namespacesSlice';
import FlagForm from '~/components/flags/FlagForm';
import Dropdown from '~/components/forms/Dropdown';
import { BarGraph } from '~/components/graphs';
import Loading from '~/components/Loading';
import Modal from '~/components/Modal';
import MoreInfo from '~/components/MoreInfo';
Expand All @@ -26,7 +25,6 @@ import { useSuccess } from '~/data/hooks/success';
import { useTimezone } from '~/data/hooks/timezone';
import { FlagType } from '~/types/Flag';
import { cls } from '~/utils/helpers';
import { useGetFlagEvaluationCountQuery } from './analyticsApi';
import {
useCopyFlagMutation,
useDeleteFlagMutation,
Expand All @@ -39,8 +37,6 @@ const tabs = [
{ name: 'Analytics', to: 'analytics' }
];

const timeFormat = 'yyyy-MM-dd HH:mm:ss';

export default function Flag() {
let { flagKey } = useParams();
const { inTimezone } = useTimezone();
Expand Down

0 comments on commit 7ad06a3

Please sign in to comment.