Skip to content

Commit

Permalink
style: resolve lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
p-eye committed Sep 17, 2024
1 parent 5a57bdf commit 8e7e24c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

import io.kafbat.ui.model.ConsumerGroupDTO;
import io.kafbat.ui.model.ConsumerGroupsPageResponseDTO;
import io.kafbat.ui.producer.KafkaTestProducer;
import java.io.Closeable;
import java.time.Duration;
import java.util.Comparator;
import java.util.List;
import java.util.Properties;
import java.util.UUID;
import java.util.stream.Stream;
import io.kafbat.ui.producer.KafkaTestProducer;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.commons.lang3.RandomStringUtils;
Expand Down
9 changes: 7 additions & 2 deletions frontend/src/components/ConsumerGroups/Details/ListItem.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import React from 'react';
import { Action, ConsumerGroupTopicPartition, ResourceType } from 'generated-sources';
import {
Action,
ConsumerGroupTopicPartition,
ResourceType,
} from 'generated-sources';
import { Link } from 'react-router-dom';
import { ClusterName } from 'lib/interfaces/cluster';
import { ClusterGroupParam, clusterTopicPath } from 'lib/paths';
Expand All @@ -23,7 +27,8 @@ interface Props {
const ListItem: React.FC<Props> = ({ clusterName, name, consumers }) => {
const [isOpen, setIsOpen] = React.useState(false);
const consumerProps = useAppParams<ClusterGroupParam>();
const deleteOffsetMutation = useDeleteConsumerGroupOffsetsMutation(consumerProps);
const deleteOffsetMutation =
useDeleteConsumerGroupOffsetsMutation(consumerProps);

const getTotalconsumerLag = () => {
let count = 0;
Expand Down

0 comments on commit 8e7e24c

Please sign in to comment.