mirror of
https://github.com/imezx/Warp.git
synced 2025-04-25 07:30:02 +00:00
10 lines
257 B
JavaScript
10 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
|
|
});
|
|
}
|
|
}
|