mirror of
https://github.com/imezx/Warp.git
synced 2025-04-25 15:40:02 +00:00
11 lines
257 B
JavaScript
11 lines
257 B
JavaScript
|
import { options, Fragment, Component } from 'preact';
|
||
|
|
||
|
export function initDevTools() {
|
||
|
if (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {
|
||
|
window.__PREACT_DEVTOOLS__.attachPreact('10.19.3', options, {
|
||
|
Fragment,
|
||
|
Component
|
||
|
});
|
||
|
}
|
||
|
}
|