Skip to content

Commit

Permalink
release 0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWangJustToDo committed Nov 1, 2023
1 parent c897373 commit b7d2ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/myreact-dom/src/shared/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { version as ReconcilerVersion } from "@my-react/react-reconciler";
const { enableMockReact } = __my_react_shared__;

export const checkReconcilerVersion = () => {
if (!ReconcilerVersion || ReconcilerVersion !== __VERSION__) {
if (__DEV__ && (!ReconcilerVersion || ReconcilerVersion !== __VERSION__)) {
console.error(
`[@my-react/react-dom] the version of '@my-react/react-reconciler' not match for '@my-react/react-dom', this may cause some bug, try to reinstall the 'node_modules' to fix this error`
);
Expand Down
2 changes: 1 addition & 1 deletion packages/myreact-refresh-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@my-react/react-refresh-tools",
"version": "0.0.6",
"version": "0.0.7",
"description": "An experimental package providing utilities for @my-react Refresh.",
"files": [
"dist",
Expand Down

0 comments on commit b7d2ef4

Please sign in to comment.