Skip to content

Commit

Permalink
fix(favorites-provider): ignore eslint react-refresh warning
Browse files Browse the repository at this point in the history
  • Loading branch information
IdoBouskila committed Nov 30, 2024
1 parent a4e2d20 commit 0f20ea5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/context/favorites-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type FavoritesContextType = {

const favoritesContext = createContext<FavoritesContextType | undefined>(undefined);

// eslint-disable-next-line react-refresh/only-export-components
export const useFavorites = () => {
const context = useContext(favoritesContext);

Expand Down

0 comments on commit 0f20ea5

Please sign in to comment.