Skip to content

Commit

Permalink
chore(website): fix eslint error after updating prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Jul 4, 2021
1 parent 9b4a279 commit 75a9b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/documentation/src/hooks/useFakeLazyImport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export default function useFakeLazyImport<P = {}>(
key: string | number | null = null,
delay = 5000
): LazyExoticComponent<FC<P>> {
// disabled since this is really hacky and want it to also update if the key changes
// eslint-disable-next-line react-hooks/exhaustive-deps
return useMemo(
() => lazy(() => fakeImport(Component, delay)),
// disabled since this is really hacky and want it to also update if the key changes
// eslint-disable-next-line react-hooks/exhaustive-deps
[Component, key, delay]
);
}

1 comment on commit 75a9b0f

@vercel
Copy link

@vercel vercel bot commented on 75a9b0f Jul 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.