Fix
This commit is contained in:
10
node_modules/preact/devtools/src/devtools.js
generated
vendored
Normal file
10
node_modules/preact/devtools/src/devtools.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { options, Fragment, Component } from 'preact';
|
||||
|
||||
export function initDevTools() {
|
||||
if (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {
|
||||
window.__PREACT_DEVTOOLS__.attachPreact('10.18.1', options, {
|
||||
Fragment,
|
||||
Component
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user