Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Avircut committed Oct 2, 2023
1 parent f8cdf0c commit b572b05
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/features/addRow/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { AddRow } from './ui/AddRow/AddRow';
export { AddRowSchema } from './model/types/addRowSchema';
export { AddRowSchema } from './model/types/addRowSchema';
3 changes: 0 additions & 3 deletions src/features/addRow/ui/AddRow/AddRow.module.scss

This file was deleted.

2 changes: 1 addition & 1 deletion src/features/addRow/ui/AddRow/AddRow.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ type Story = StoryObj<typeof meta>;
export const Normal: Story = {
args: {
},
};
};
15 changes: 6 additions & 9 deletions src/features/addRow/ui/AddRow/AddRow.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import { classNames } from 'shared/lib/classNames/classNames';
import cls from './AddRow.module.scss';
import { memo } from 'react';

interface AddRowProps {
className?: string;
}

export const AddRow = memo((props: AddRowProps) => {
const { className } = props;

return (
<div className={classNames(cls.AddRow, {}, [className])}>

</div>
);
});
const { className } = props;

return (
<div className={classNames('', {}, [className])} />
);
});
Empty file.
1 change: 0 additions & 1 deletion src/pages/MainPage/ui/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Drawer, IconButton } from '@mui/material';
import { useState } from 'react';
import { useClosestMedia } from 'shared/lib/hooks/useMediaQuery/useMediaQuery';
import CloseIcon from '@mui/icons-material/Close';

Expand Down

0 comments on commit b572b05

Please sign in to comment.