diff --git a/components/saveFile.tsx b/components/saveFile.tsx index 237452d..e6fc97e 100644 --- a/components/saveFile.tsx +++ b/components/saveFile.tsx @@ -2,12 +2,12 @@ import { Button, Tooltip } from '@nextui-org/react'; import React from 'react'; import { GoDownload } from 'react-icons/go'; -interface Props { +interface SaveFileProps { content: any; // any javascript object className?: string; } -const SaveFile: React.FC = ({ content, className }) => { +const SaveFile: React.FC = ({ content, className }) => { const handleSave = () => { window.electronAPI.saveFile(JSON.stringify(content, null, 2)); };