fix: Rename use-auth.js to use-auth.jsx for JSX support

This commit is contained in:
Claude committed 2025-11-23 09:24:05 +00:00
1 parent 1dd6d4dae1
commit 1dcb2849e2
2875 files changed
+459559 -2

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
let promise
module.exports = typeof queueMicrotask === 'function'
? queueMicrotask.bind(typeof window !== 'undefined' ? window : global)
// reuse resolved promise, and allocate it lazily
: cb => (promise || (promise = Promise.resolve()))
.then(cb)
.catch(err => setTimeout(() => { throw err }, 0))