1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

(nextjs) fixed eslint warnings

This commit is contained in:
Fedor Katurov 2022-01-19 12:03:54 +07:00
parent c469722a86
commit e5f8d5a551
29 changed files with 56 additions and 59 deletions

View file

@ -6,15 +6,9 @@ import classNames from 'classnames';
type IProps = HTMLAttributes<HTMLDivElement> & {
seamless?: boolean;
stretchy?: boolean;
}
};
const Panel: FC<IProps> = ({
className,
children,
seamless,
stretchy,
...props
}) => (
const Panel: FC<IProps> = ({ className, children, seamless, stretchy, ...props }) => (
<div className={classNames(styles.panel, className, { seamless, stretchy })} {...props}>
{children}
</div>