Skip to content

Commit

Permalink
FE: Fix linter warnings (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadisfr committed Sep 18, 2024
1 parent 2e81741 commit 24ded3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TopicMessage } from 'generated-sources';
import React, { useState } from 'react';
import { Button } from 'components/common/Button/Button';
import * as S from 'components/common/NewTable/Table.styled';
import { useGoToPrevPage, useGoToNextPage, useIsLiveMode } from 'lib/hooks/useMessagesFilters';
import { useGoToNextPage, useGoToPrevPage, useIsLiveMode } from 'lib/hooks/useMessagesFilters';

Check warning on line 8 in frontend/src/components/Topics/Topic/Messages/MessagesTable.tsx

View workflow job for this annotation

GitHub Actions / build / build-and-test

Replace `·useGoToNextPage,·useGoToPrevPage,·useIsLiveMode·` with `⏎··useGoToNextPage,⏎··useGoToPrevPage,⏎··useIsLiveMode,⏎`
import { useMessageFiltersStore } from 'lib/hooks/useMessageFiltersStore';

import PreviewModal from './PreviewModal';
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/lib/hooks/api/topicMessages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ import { showServerError } from 'lib/errorHandling';
import { useMutation, useQuery } from '@tanstack/react-query';
import { messagesApiClient } from 'lib/api';
import { useSearchParams } from 'react-router-dom';
import {
getPageValue,
MessagesFilterKeys,
} from 'lib/hooks/useMessagesFilters';
import { getPageValue, MessagesFilterKeys } from 'lib/hooks/useMessagesFilters';
import { convertStrToPollingMode } from 'lib/hooks/filterUtils';
import { useMessageFiltersStore } from 'lib/hooks/useMessageFiltersStore';
import { TopicName } from 'lib/interfaces/topic';
Expand Down

0 comments on commit 24ded3c

Please sign in to comment.