Skip to content

Commit 193eaf4

Browse files
cdock1029arunoda
authored andcommitted
Add missing ! in using-preact example (#1355) (#1356)
1 parent 563856f commit 193eaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/using-preact/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const moduleAlias = require('module-alias')
33

44
// For the development version, we'll use React.
55
// Because, it support react hot loading and so on.
6-
if (dev) {
6+
if (!dev) {
77
moduleAlias.addAlias('react', 'preact-compat')
88
moduleAlias.addAlias('react-dom', 'preact-compat')
99
}

0 commit comments

Comments
 (0)