fingerprintjs / fingerprintjs-pro-react

Fingerprint Pro Wrapper for React Single Page Applications (SPA)
MIT License
52 stars 8 forks source link

refactor: preact example remove unused import #58

Closed necipallef closed 2 years ago

ilfa commented 2 years ago

Oh, I missed that it is no longer necessary for the preact JSX files. @necipallef Can you do the same for app.tsx?

necipallef commented 2 years ago

Oh, I missed that it is no longer necessary for the preact JSX files. @necipallef Can you do the same for app.tsx?

Done

ilfa commented 2 years ago

Hmm, I made additional research and it is better to keep h for our configuration. Build command fails.

$ preact build --no-sw
✖ ERROR ./src/index.tsx
ERROR in ./src/index.tsx(9,6):
TS2304: Cannot find name 'h'.
error Command failed with exit code 1.
necipallef commented 2 years ago

Yeah, I agree. My bad