feat: fetch user info using OAuth
This commit is contained in:
+2
-3
@@ -1,8 +1,7 @@
|
||||
import { StateUpdater, useContext, useEffect, useState } from 'preact/hooks'
|
||||
import { StateUpdater, useEffect, useState } from 'preact/hooks'
|
||||
|
||||
import { createContext } from 'preact'
|
||||
import { prependBaseUrl, server } from './api'
|
||||
import { User } from '../shared/model'
|
||||
import { prependBaseUrl} from './api'
|
||||
|
||||
type Metadata = {
|
||||
title?: string
|
||||
|
||||
Reference in New Issue
Block a user