Skip to content

Commit

Permalink
fix: fixed import
Browse files Browse the repository at this point in the history
  • Loading branch information
mbret committed Jul 16, 2024
1 parent 77d2862 commit c5ccf25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/utils/useMount.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import useEffectOnce from './useEffectOnce';
import { useEffectOnce } from "./useEffectOnce"

export const useMount = (fn: () => void) => {
useEffectOnce(() => {
fn();
});
};
fn()
})
}

0 comments on commit c5ccf25

Please sign in to comment.