Browse Source

minor export code modifications in Backdrop

Mgrdich 2 years ago
parent
commit
f57af84863
1 changed files with 1 additions and 3 deletions
  1. 1 3
      kafka-ui-react-app/src/components/common/Backdrop/Backdrop.tsx

+ 1 - 3
kafka-ui-react-app/src/components/common/Backdrop/Backdrop.tsx

@@ -1,8 +1,6 @@
 import React, { MouseEventHandler, SyntheticEvent } from 'react';
 import styled from 'styled-components';
 
-import Styles from './backdrop.module.scss';
-
 interface BackdropProps {
   onClick?: (e: SyntheticEvent<HTMLElement>) => void;
   open?: boolean;
@@ -32,7 +30,7 @@ const Backdrop: React.FC<BackdropProps> = ({ open, onClick }) => {
 
   return open ? (
     // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
-    <BackdropStyled className={Styles.backdrop} onClick={handleClick} />
+    <BackdropStyled onClick={handleClick} />
   ) : null;
 };