Skip to content

Commit

Permalink
Fix lint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed Aug 10, 2024
1 parent 7a94801 commit c944c8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Onboarding/Pages/ComponentsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from "./Pages.module.css";
interface Props {
}

export const ComponentsPage: React.FC<Props> = (props: Props) => {
export const ComponentsPage: React.FC<Props> = () => {
return <>
<WarningBox>
You can download other applications and songs at any time after the initial onboarding process.
Expand Down
2 changes: 1 addition & 1 deletion src/profiles/directories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface DirectoriesStore {
setDirs: (downloadLocation?: string) => Promise<void>;
}

export const useDirectories = create<DirectoriesStore>()((set, get) => ({
export const useDirectories = create<DirectoriesStore>()((set) => ({
setDirs: async (downloadLocation?: string) => {
const importantDirs: ImportantDirs = await invoke("get_important_dirs");

Expand Down
2 changes: 1 addition & 1 deletion src/utils/localized.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const localize = <T, K extends keyof T>(obj: Localized<T>, key: K, locale

export const localizeObject = <T>(obj: Localized<T>, locale: string): T => {
const {
// @ts-ignore: Used to remove this field from the object
// eslint-disable-next-line @typescript-eslint/no-unused-vars
localeOverrides,
...omittedObj
} = obj;
Expand Down

0 comments on commit c944c8d

Please sign in to comment.