Skip to content

Commit

Permalink
chore: suppress react-intl warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Oct 19, 2023
1 parent 11a97ff commit a49391e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react-components/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
themeProviderStyle,
} from "../theme/theme-provider.css"
import * as locales from "./../locales"
import { merge } from "lodash"

export interface ThemeProviderProps {
theme?: "light" | "dark"
Expand Down Expand Up @@ -239,6 +238,7 @@ export const IntlProvider = <
return (
<OriginalIntlProvider
{...intlProps}
onWarn={() => ({})}
defaultRichTextElements={{
del: (chunks) => <del>{chunks}</del>,
}}
Expand Down

0 comments on commit a49391e

Please sign in to comment.