Make edits to AST and then use formatter

This commit is contained in:
Misode
2024-10-23 06:10:14 +02:00
parent a0f3e71000
commit 18332b9dbc
5 changed files with 47 additions and 45 deletions

View File

@@ -59,18 +59,10 @@ export function SpyglassProvider({ children }: { children: ComponentChildren })
const { version } = useVersion()
const [client] = useState(new SpyglassClient())
const { value: service, error } = useAsync(() => {
const { value: service } = useAsync(() => {
return client.createService(version)
}, [client, version])
useEffect(() => {
if (error) {
console.warn(error)
}
}, [error])
console.log('->', service)
const value: SpyglassContext = {
client,
service,