Skip to content

Commit

Permalink
chore: added citation for usehooks
Browse files Browse the repository at this point in the history
  • Loading branch information
aizad-deriv committed Jan 19, 2024
1 parent ddc9ef1 commit 75491c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/hooks/useEventListener.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Code from: https://usehooks-typescript.com/react-hook/use-event-listener
import { RefObject, useEffect, useRef } from "react";
import { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect";

Expand Down
1 change: 1 addition & 0 deletions lib/hooks/useIsomorphicLayoutEffect.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Code from: https://usehooks-typescript.com/react-hook/use-event-listener
import { useEffect, useLayoutEffect } from "react";

export const useIsomorphicLayoutEffect =
Expand Down
1 change: 1 addition & 0 deletions lib/hooks/useOnClickOutside.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Code from: https://usehooks-typescript.com/react-hook/use-on-click-outside
import { RefObject } from "react";
import { useEventListener } from "./useEventListener";

Expand Down

0 comments on commit 75491c3

Please sign in to comment.