Skip to content

Commit

Permalink
disable eslint ?? operator rule for with placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
mollpo committed Aug 27, 2024
1 parent a6c9a3d commit 4424cc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/content/WithPlaceholder/WithPlaceholder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function WithPlaceholder({
placeholder = '-',
children,
}: WithPlaceholderProps) {
/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */
return (
<>
{typeof children === 'number'
Expand Down

0 comments on commit 4424cc9

Please sign in to comment.