Skip to content

Commit f449c4e

Browse files
committed
adjust hooks name to be consistent with the rest of the codebase
1 parent 84b42dd commit f449c4e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/components/Trilemma/Triangle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { ReactNode } from "react"
22
import { useIntl } from "react-intl"
33
import { chakra, HTMLChakraProps } from "@chakra-ui/react"
44
import { translateMessageId } from "../../utils/translations"
5-
import { HandleClickParam } from "./use-trilemma"
5+
import { HandleClickParam } from "./useTrilemma"
66

77
export interface IProps {
88
handleClick: (selection: HandleClickParam) => void

src/components/Trilemma/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
import Card from "../Card"
1515
import Translation from "../Translation"
1616
import { TriangleSVG, IProps as TriangleSVGProps } from "./Triangle"
17-
import { useTrilemma } from "./use-trilemma"
17+
import { useTrilemma } from "./useTrilemma"
1818

1919
export interface IProps {}
2020

0 commit comments

Comments
 (0)