This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
|
import { Role } from '../../libs/graphql/types';
|
|
|
|
export const formatRole = (r: Role): string =>
|
|
r === Role.Admin ? 'Admin' : 'Użytkownik';
|