Skip to content

Commit

Permalink
chore: suppress react-intl warnings (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas authored Oct 24, 2023
1 parent 11a97ff commit 36e85dd
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 36e85dd

Please sign in to comment.