Skip to content

Commit

Permalink
chore: resolve unused vars warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwooseong committed Jul 1, 2024
1 parent 750ecf5 commit 33bb526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import type {
SizeProps,
} from '~/src/types/props'

import {
type AlphaAvatarProps,
type AlphaAvatarSize,
} from '~/src/components/AlphaAvatar'
import { type AlphaAvatarSize } from '~/src/components/AlphaAvatar'

type AvatarGroupEllipsisType = 'icon' | 'count'

Expand Down
1 change: 1 addition & 0 deletions packages/bezier-react/src/hooks/useMergeRefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function assignRef<Node>(ref: Ref<Node>, value: Node | null) {

try {
ref.current = value
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (error) {
throw new Error(`Cannot assign value '${value}' to ref '${ref}'`)
}
Expand Down

0 comments on commit 33bb526

Please sign in to comment.