From 1bf719413c13931f8202ffe598e708a78f72cf67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?F=C3=A9lix=20C=2E=20Morency?=
<1102868+fmorency@users.noreply.github.com>
Date: Fri, 22 Nov 2024 13:53:46 -0500
Subject: [PATCH] chore: remove unused component (#66)
---
.../__tests__/stakingParams.test.tsx | 56 ------
components/admins/components/index.tsx | 1 -
.../admins/components/stakingParams.tsx | 101 ----------
.../updateStakingParamsModal.test.tsx | 85 --------
.../modals/updateStakingParamsModal.tsx | 185 ------------------
5 files changed, 428 deletions(-)
delete mode 100644 components/admins/components/__tests__/stakingParams.test.tsx
delete mode 100644 components/admins/components/stakingParams.tsx
delete mode 100644 components/admins/modals/__tests__/updateStakingParamsModal.test.tsx
delete mode 100644 components/admins/modals/updateStakingParamsModal.tsx
diff --git a/components/admins/components/__tests__/stakingParams.test.tsx b/components/admins/components/__tests__/stakingParams.test.tsx
deleted file mode 100644
index ad214d84..00000000
--- a/components/admins/components/__tests__/stakingParams.test.tsx
+++ /dev/null
@@ -1,56 +0,0 @@
-import { afterEach, describe, expect, test } from 'bun:test';
-import React from 'react';
-import { screen, cleanup, within, fireEvent } from '@testing-library/react';
-import StakingParams from '@/components/admins/components/stakingParams';
-import matchers from '@testing-library/jest-dom/matchers';
-import { mockStakingParams } from '@/tests/mock';
-import { renderWithChainProvider } from '@/tests/render';
-
-expect.extend(matchers);
-
-const renderWithProps = (props = {}) => {
- const defaultProps = {
- stakingParams: mockStakingParams,
- isLoading: false,
- address: 'test_address',
- admin: 'admin1',
- };
- return renderWithChainProvider(