mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0f3f5611ba
commit
1477bb8274
531 files changed
+3979
-3975
No files matched your search
@@ -1,5 +1,5 @@
|
||||
// Custom react hooks for common usage
|
||||
|
||||
export * from "./useStorage"
|
||||
export * from "./useOnUnmount"
|
||||
export * from "./useInterval"
|
||||
export * from "./useStorage";
|
||||
export * from "./useOnUnmount";
|
||||
export * from "./useInterval";
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useEffect } from "react";
|
||||
|
||||
export function useOnUnmount(callback: () => void) {
|
||||
useEffect(() => callback, [])
|
||||
useEffect(() => callback, []);
|
||||
}
|
||||
Reference in new issue
Block a user