Skip to content

Commit

Permalink
fix: corrected misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Sep 5, 2024
1 parent 88a796f commit 9554fe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/inventory/Inventory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useEffect, useState } from 'react';
import { useSources } from '../../hooks/sources/useSources';
import { useSetSourceToPerge } from '../../hooks/sources/useSetSourceToPerge';
import { useSetSourceToPurge } from '../../hooks/sources/useSetSourceToPurge';
import FilterOptions from '../../components/filter/FilterOptions';
import SourceListItem from '../../components/sourceListItem/SourceListItem';
import { SourceWithId } from '../../interfaces/Source';
Expand All @@ -11,7 +11,7 @@ import FilterContext from './FilterContext';
import styles from './Inventory.module.scss';

export default function Inventory() {
const [removeInventorySource, reloadList] = useSetSourceToPerge();
const [removeInventorySource, reloadList] = useSetSourceToPurge();
const [updatedSource, setUpdatedSource] = useState<
SourceWithId | undefined
>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SourceWithId } from '../../interfaces/Source';
import { CallbackHook } from '../types';
import { Log } from '../../api/logger';

export function useSetSourceToPerge(): CallbackHook<
export function useSetSourceToPurge(): CallbackHook<
(source: SourceWithId) => void
> {
const [reloadList, setReloadList] = useState(false);
Expand Down

0 comments on commit 9554fe0

Please sign in to comment.