Skip to content

Commit

Permalink
fix(front): fix error path & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Nov 16, 2023
1 parent 8fd0b6d commit e601651
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ import { toast } from 'react-hot-toast';

import { ConvertButton, UnhideDarBtn, SelectPathButton, RemoveOarBtn, LogFileButton } from '@/components/buttons';
import { SelectLogLevel } from '@/components/lists';
import { LinearWithValueLabel } from '@/components/notifications';
import { useTranslation } from '@/hooks';
import { LogLevel, convertDar2oar } from '@/tauri_cmd';
import { selectLogLevel } from '@/utils/selector';

import LinearWithValueLabel from './progress_bar';

type FormProps = {
src: string;
dist: string;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/pages/converter.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { Box } from '@mui/material';

import { ConvertForm } from '@/components/form';
Expand Down
1 change: 1 addition & 0 deletions frontend/src/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// @index('./*', f => `export * from '${f.path}'`)
'use client';
export * from './dyn_style';
export * from './storage_state';
export * from './toasts_limit';
Expand Down

0 comments on commit e601651

Please sign in to comment.