🔥 Remove old and unused components

This commit is contained in:
Manuel Ruwe
2022-12-23 17:17:57 +01:00
parent b23f464140
commit f3b601dc2d
37 changed files with 131 additions and 1945 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable react/no-unknown-property */
import { ReactNode, RefObject } from 'react';
interface GridstackTileWrapperProps {

View File

@@ -6,10 +6,10 @@ import { useConfigContext } from '../../../../config/provider';
import { useConfigStore } from '../../../../config/store';
import { CategoryType } from '../../../../types/category';
export interface CategoryEditModalInnerProps {
export type CategoryEditModalInnerProps = {
category: CategoryType;
onSuccess: (category: CategoryType) => Promise<void>;
}
};
export const CategoryEditModal = ({
context,

View File

@@ -25,6 +25,7 @@ export const DashboardSidebar = ({ location }: DashboardSidebarProps) => {
className="grid-stack grid-stack-sidebar"
style={{ transitionDuration: '0s', height: '100%' }}
data-sidebar={location}
// eslint-disable-next-line react/no-unknown-property
gs-min-row={minRow}
ref={refs.wrapper}
>