Remove encrpytion, improve logging and merge interfaces.
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
import { getFoldersWithStats, renameFolder } from '@/ui/main-axios';
|
||||
import { toast } from 'sonner';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import type { FolderManagerProps } from '../../../types/index.js';
|
||||
|
||||
interface FolderStats {
|
||||
name: string;
|
||||
@@ -24,10 +25,6 @@ interface FolderStats {
|
||||
}>;
|
||||
}
|
||||
|
||||
interface FolderManagerProps {
|
||||
onFolderChanged?: () => void;
|
||||
}
|
||||
|
||||
export function FolderManager({ onFolderChanged }: FolderManagerProps) {
|
||||
const { t } = useTranslation();
|
||||
const [folders, setFolders] = useState<FolderStats[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user