16 lines
220 B
TypeScript
Raw Normal View History

2023-06-30 00:06:07 +00:00
import React from 'react'
const getGlobal = () => {
try {
return window
} catch {
return globalThis
}
}
export const useThingtime = (props?: any) => {
const glob = getGlobal()
return { state: {} }
}