Skip to content

Commit

Permalink
fix(plugin-react): inconsistent error warning (#5031)
Browse files Browse the repository at this point in the history
  • Loading branch information
y1d7ng authored Sep 22, 2021
1 parent 4ab4592 commit 89ba8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-react/src/fast-refresh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let prevRefreshSig;
if (!window.__vite_plugin_react_preamble_installed__) {
throw new Error(
"@vitejs/plugin-react-refresh can't detect preamble. Something is wrong. " +
"@vitejs/plugin-react can't detect preamble. Something is wrong. " +
"See https://github.com/vitejs/vite-plugin-react/pull/11#discussion_r430879201"
);
}
Expand Down

0 comments on commit 89ba8ce

Please sign in to comment.