Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

fix typo in WhatsNewNotification: 'dimiss' -> 'dismiss'

Nicolò Pretto166e20c94457
diff --git a/frontend/src/metabase/nav/components/WhatsNewNotification/WhatsNewNotification.tsx b/frontend/src/metabase/nav/components/WhatsNewNotification/WhatsNewNotification.tsx
index cdcdfdca251..1a1a21104c8 100644
--- a/frontend/src/metabase/nav/components/WhatsNewNotification/WhatsNewNotification.tsx
+++ b/frontend/src/metabase/nav/components/WhatsNewNotification/WhatsNewNotification.tsx
@@ -40,7 +40,7 @@ export function WhatsNewNotification() {
isWhiteLabeling,
]);
- const dimiss = useCallback(() => {
+ const dismiss = useCallback(() => {
dispatch(
updateSetting({
key: "last-acknowledged-version",
@@ -57,7 +57,7 @@ export function WhatsNewNotification() {
<Stack gap="sm">
<Flex justify="space-between">
<Sparkles color={color("brand")} />
- <DismissIconButtonWrapper onClick={dimiss}>
+ <DismissIconButtonWrapper onClick={dismiss}>
<Icon name="close" />
</DismissIconButtonWrapper>
</Flex>