From 9170a7b09dad9d626a27e7cd43fecae1331e53dc Mon Sep 17 00:00:00 2001 From: Dmitry Osipov Date: Wed, 27 Sep 2023 08:16:11 +0200 Subject: [PATCH] fix: remove old styles from Filter --- .../packages/core-blocks/src/FormControls/Filter.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/webapp/packages/core-blocks/src/FormControls/Filter.tsx b/webapp/packages/core-blocks/src/FormControls/Filter.tsx index 71b2133700..49fd6ab54b 100644 --- a/webapp/packages/core-blocks/src/FormControls/Filter.tsx +++ b/webapp/packages/core-blocks/src/FormControls/Filter.tsx @@ -7,7 +7,6 @@ */ import { observer } from 'mobx-react-lite'; import { useCallback, useEffect, useState } from 'react'; -import styled from 'reshadow'; import type { ComponentStyle } from '@cloudbeaver/core-theming'; @@ -15,7 +14,6 @@ import { IconButton } from '../IconButton'; import { s } from '../s'; import { useFocus } from '../useFocus'; import { useS } from '../useS'; -import { useStyles } from '../useStyles'; import filterStyle from './Filter.m.css'; import { InputField } from './InputField'; @@ -54,7 +52,6 @@ export const Filter = observer>(functio disabled, max, className, - style: propStyle, onFilter, onToggle, onKeyDown, @@ -107,12 +104,11 @@ export const Filter = observer>(functio value = state[name]; } - return styled(useStyles(propStyle))( + return (
>(functio ) : ( )} -
, + ); });