From cb8ed2b2270f02b8de870def673a732616e5ae47 Mon Sep 17 00:00:00 2001 From: manojava-gk Date: Mon, 3 Jun 2024 15:32:57 +0530 Subject: [PATCH] fix(chor): fix sonar cloud issue --- .../basic/Button/ScrollToTopButton.tsx | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/src/components/basic/Button/ScrollToTopButton.tsx b/src/components/basic/Button/ScrollToTopButton.tsx index c397e726..ae689132 100644 --- a/src/components/basic/Button/ScrollToTopButton.tsx +++ b/src/components/basic/Button/ScrollToTopButton.tsx @@ -21,22 +21,19 @@ import { IconButton } from '../IconButton' import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward' export interface ScrollToTopButtonProps { - onButtonClick: React.MouseEventHandler + onButtonClick: React.MouseEventHandler } export const ScrollToTopButton = ({ - onButtonClick, + onButtonClick, }: ScrollToTopButtonProps) => { - return ( - <> - - - - - - ) + return ( + + + + ) }