16005: Removed unused functions
[arvados.git] / src / common / getuser.ts
1 import { RootState } from '~/store/store';
2
3 export const getUserUuid = (state: RootState) => {
4     const user = state.auth.user;
5     if (user) {
6         return user.uuid;
7     } else {
8         return undefined;
9     }
10 };