We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cbfd4c commit ca62aebCopy full SHA for ca62aeb
src/adapter/hook.ts
@@ -203,7 +203,7 @@ export function createHook(port: PortPageHook): DevtoolsHook {
203
if (preactVersionMatch.major == 10) {
204
const supports = {
205
renderReasons: !!config.Component,
206
- hooks: preactVersionMatch.minor === 4 && preactVersionMatch.patch >= 1 || preactVersionMatch.minor > 4,
+ hooks: (preactVersionMatch.minor === 4 && preactVersionMatch.patch >= 1) || preactVersionMatch.minor > 4,
207
};
208
209
// Create an integer-based namespace to avoid clashing ids caused by
0 commit comments