Wizard/test: Remove unused variables

This removes unused variable from the code.
This commit is contained in:
regexowl 2023-12-18 11:07:50 +01:00 committed by Klara Simickova
parent be6e867b3c
commit b427c1a310
3 changed files with 2 additions and 4 deletions

View file

@ -26,7 +26,7 @@ import MountPoint, { MountPointValidPrefixes } from './MountPoint';
import SizeUnit from './SizeUnit';
import UsrSubDirectoriesDisabled from './UsrSubDirectoriesDisabled';
import { UNIT_GIB, UNIT_KIB, UNIT_MIB } from '../../../constants';
import { UNIT_GIB, UNIT_MIB } from '../../../constants';
import { useGetOscapCustomizationsQuery } from '../../../store/imageBuilderApi';
const initialRow = {

View file

@ -255,7 +255,7 @@ const Repositories = (props) => {
return data ? initializeRepositories(data.data) : {};
}, [firstRequest.data, followupRequest.data]);
const handleToggleClick = (event, _isSelected) => {
const handleToggleClick = (event) => {
const id = event.currentTarget.id;
setPage(1);
setToggleSelected(id);

View file

@ -3,7 +3,6 @@ import React from 'react';
import '@testing-library/jest-dom';
import {
act,
screen,
waitFor,
waitForElementToBeRemoved,
@ -12,7 +11,6 @@ import {
import userEvent from '@testing-library/user-event';
import { rest } from 'msw';
import api from '../../../api.js';
import CreateImageWizard from '../../../Components/CreateImageWizard/CreateImageWizard';
import ShareImageModal from '../../../Components/ShareImageModal/ShareImageModal';
import {