chore: add consistent type imports
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { FC } from "react"
|
||||
|
||||
import { getIconByIconName } from "@/components/Icons/get-icon-by-icon-name"
|
||||
import { isValidRewardId } from "@/utils/rewards"
|
||||
|
||||
import type { FC } from "react"
|
||||
|
||||
import { IconName, type IconProps } from "@/types/components/icon"
|
||||
import { RewardId } from "@/types/enums/rewards"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mapRewardToIcon } from "./data"
|
||||
|
||||
import { RewardIconProps } from "@/types/components/myPages/rewards"
|
||||
import type { RewardIconProps } from "@/types/components/myPages/rewards"
|
||||
|
||||
// Original SVG aspect ratio is 358:202 (≈1.77:1)
|
||||
const sizeMap = {
|
||||
|
||||
Reference in New Issue
Block a user