diff --git a/src/api/realm/get-realms.ts b/src/api/realm/get-realms.ts index 70ca7d2bc..36d24a4d0 100644 --- a/src/api/realm/get-realms.ts +++ b/src/api/realm/get-realms.ts @@ -2,4 +2,7 @@ import { request } from '../base' import { Realm } from '.' // Public realms will be returned. If logged-in, the user's realm will also be returned. -export const getRealms = () => request('GET', 'realms').then(realms => realms.sort((a, b) => a.name.localeCompare(b.name))) +export const getRealms = () => + request('GET', 'realms').then((realms) => + realms.sort((a, b) => a.name.localeCompare(b.name)), + )