mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
Split user.ts into auth.ts and me.ts (#113)
Split user.ts into auth.ts and me.ts
This commit is contained in:
parent
1fa8c8ac53
commit
db5bec7000
9 changed files with 53 additions and 51 deletions
|
@ -1,6 +1,6 @@
|
|||
import { getMe } from '../api/user'
|
||||
import { LoginStatus } from '../redux/user/types'
|
||||
import { getMe } from '../api/me'
|
||||
import { setUser } from '../redux/user/methods'
|
||||
import { LoginStatus } from '../redux/user/types'
|
||||
import { store } from './store'
|
||||
|
||||
export const getAndSetUser: () => (Promise<void>) = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue