Skip to content

Commit 5f0d73e

Browse files
committed
fix lint
1 parent c7127b0 commit 5f0d73e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/@react-spectrum/s2/src/NotificationBadge.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const NotificationBadge = forwardRef(function Badge(props: NotificationBa
101101
let {locale} = useLocale();
102102

103103
if (value && value < 0) {
104-
throw new Error('Value cannot be negative')
104+
throw new Error('Value cannot be negative');
105105
}
106106

107107
let truncatedValue: number | undefined = undefined;
@@ -126,7 +126,7 @@ export const NotificationBadge = forwardRef(function Badge(props: NotificationBa
126126
} else if (length === 1) {
127127
isSingleDigit = true;
128128
} else if (length === 2) {
129-
isDoubleDigit = true
129+
isDoubleDigit = true;
130130
}
131131

132132
if (truncatedValue) {
@@ -140,7 +140,7 @@ export const NotificationBadge = forwardRef(function Badge(props: NotificationBa
140140
className={(props.UNSAFE_className || '') + badge({size, isEmpty, isSingleDigit, isDoubleDigit, isMaxDigit}, props.styles)}
141141
style={props.UNSAFE_style}
142142
ref={domRef}>
143-
{formattedValue}
143+
{formattedValue}
144144
</span>
145145
);
146-
});
146+
});

0 commit comments

Comments
 (0)