extract AppInfo into a export const

This commit is contained in:
vitorsemeano 2020-10-12 22:17:25 +01:00
parent e0abc4d386
commit 4e88835382
6 changed files with 16 additions and 8 deletions

View file

@ -1,3 +1,5 @@
import AppInfo from '../components/AppInfo';
export function getCurrentUser() {
return window.ApiClient.getCurrentUser(false);
}