From b660c11955e8658a1265658dae34987ee20efcdb Mon Sep 17 00:00:00 2001 From: aswathy-deriv Date: Wed, 6 Mar 2024 12:28:21 +0400 Subject: [PATCH] fix: sonarcloud issues --- src/features/hooks/use-residence-list/index.tsx | 2 +- .../password/{password-form.tsx => academy-password-form.tsx} | 0 src/features/pages/academy-complete/pop-up-menu.tsx | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/features/pages/academy-complete/password/{password-form.tsx => academy-password-form.tsx} (100%) diff --git a/src/features/hooks/use-residence-list/index.tsx b/src/features/hooks/use-residence-list/index.tsx index 0521e347890..01747db3f57 100644 --- a/src/features/hooks/use-residence-list/index.tsx +++ b/src/features/hooks/use-residence-list/index.tsx @@ -1,4 +1,4 @@ -import { useEffect, useMemo, useState } from 'react' +import { useEffect, useMemo } from 'react' import useWS from 'components/hooks/useWS' export type ResidenceType = { diff --git a/src/features/pages/academy-complete/password/password-form.tsx b/src/features/pages/academy-complete/password/academy-password-form.tsx similarity index 100% rename from src/features/pages/academy-complete/password/password-form.tsx rename to src/features/pages/academy-complete/password/academy-password-form.tsx diff --git a/src/features/pages/academy-complete/pop-up-menu.tsx b/src/features/pages/academy-complete/pop-up-menu.tsx index ea87b6bfbb4..24867374265 100644 --- a/src/features/pages/academy-complete/pop-up-menu.tsx +++ b/src/features/pages/academy-complete/pop-up-menu.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react' import styled from 'styled-components' import ResidenceForm from './residence-form' -import PasswordForm from './password/password-form' +import PasswordForm from './password/academy-password-form' import device from 'themes/device' import { useResidenceList } from 'features/hooks/use-residence-list' @@ -53,7 +53,7 @@ const PopUpMenu = () => { {!is_password && ( setIsPassword(true)} selected_value={selected_value} setSelectedValue={setSelectedValue}