Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI check against prod bundle #2460

Merged
merged 11 commits into from
Jun 20, 2022
Prev Previous commit
Next Next commit
Revert "Fix bad warnOnlyOnce minification (#2448)"
This reverts commit 841a651.
  • Loading branch information
zurfyx committed Jun 17, 2022
commit 7cd9220e77b4f92a40073102a5b3ca3bc57aaeb7
2 changes: 1 addition & 1 deletion packages/lexical-react/src/LexicalPlainTextPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function PlainTextPlugin({
initialEditorState?: InitialEditorStateType;
placeholder: JSX.Element | string;
}): JSX.Element {
if (__DEV__ && initialEditorState !== undefined) {
if (initialEditorState !== undefined) {
deprecatedInitialEditorStateWarning();
}
const [editor] = useLexicalComposerContext();
Expand Down
2 changes: 1 addition & 1 deletion packages/lexical-react/src/LexicalRichTextPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function RichTextPlugin({
initialEditorState?: InitialEditorStateType;
placeholder: JSX.Element | string;
}>): JSX.Element {
if (__DEV__ && initialEditorState !== undefined) {
if (initialEditorState !== undefined) {
deprecatedInitialEditorStateWarning();
}
const [editor] = useLexicalComposerContext();
Expand Down