Move User to flipper-common

Summary: Move User from reducers to flipper-common. User will now be usable by other modules.

Reviewed By: passy

Differential Revision: D37599802

fbshipit-source-id: 66412e7ed00bf27448fa2deae70f0e8e80303aba
This commit is contained in:
Lorenzo Blasa
2022-07-08 14:17:52 -07:00
committed by Facebook GitHub Bot
parent 54f85029d9
commit caa04f4a44
4 changed files with 19 additions and 10 deletions

View File

@@ -7,9 +7,8 @@
* @format
*/
import {GraphFileUpload} from 'flipper-common';
import {GraphFileUpload, User} from 'flipper-common';
import {Atom, createState} from 'flipper-plugin';
import {User} from '../reducers/user';
export async function getUser(): Promise<User | null> {
throw new Error('Feature not implemented');