Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TTNguyenDev committed Mar 1, 2024
1 parent 2a444dd commit 7d4d30d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/web-app/hooks/useConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { useNetwork } from "wagmi";
import getConstants, { Constants } from "../lib/constants";

export const useConstants = (): Constants => {
const { chain } = useNetwork();
const { chain } = useNetwork();

const constants = useMemo(() => {
return getConstants(chain?.id ?? 1);
}, [chain]);
const constants = useMemo(() => {
return getConstants(chain?.id ?? 1);
}, [chain]);

return constants;
return constants;
};

0 comments on commit 7d4d30d

Please sign in to comment.