Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 5a758f7

Browse files
committed
chore: remove biome lint rule noUselessSwitchCase
1 parent 2993f28 commit 5a758f7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

biome.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
},
1717
"complexity": {
1818
"noUselessFragments": "off",
19-
"useLiteralKeys": "off",
20-
"noUselessSwitchCase": "off"
19+
"useLiteralKeys": "off"
2120
},
2221
"a11y": {
2322
"noSvgWithoutTitle": "off"

packages/core/src/Toast/toastCreators.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const getIconColor = (theme: Theme, iconType?: ToastIconType) => {
3434
return color.elementError()
3535
case ToastIconType.ACTION:
3636
return color.elementPrimary()
37-
case ToastIconType.INFO:
3837
default:
3938
return color.text04()
4039
}

0 commit comments

Comments
 (0)