diff --git a/tests/e2e/web/specs/signIn.spec.ts b/tests/e2e/web/specs/signIn.spec.ts
index ea4af957..461c30ea 100644
--- a/tests/e2e/web/specs/signIn.spec.ts
+++ b/tests/e2e/web/specs/signIn.spec.ts
@@ -84,10 +84,7 @@ test.describe('when given valid input', () => {
await app.people.verifyProfileCount(totalProfiles)
})
- test('show profiles with the correct education level', async ({
- app,
- signedInAccount,
- }) => {
+ test('show profiles with the correct education level', async ({app, signedInAccount}) => {
await app.home.clickPeopleLink()
const totalProfiles = await app.people.profileCountLocator.textContent()
@@ -107,10 +104,7 @@ test.describe('when given valid input', () => {
await app.people.verifyProfileCount(totalProfiles)
})
- test('show profiles with the correct smoking preference', async ({
- app,
- signedInAccount,
- }) => {
+ test('show profiles with the correct smoking preference', async ({app, signedInAccount}) => {
await app.home.clickPeopleLink()
const totalProfiles = await app.people.profileCountLocator.textContent()
@@ -133,10 +127,7 @@ test.describe('when given valid input', () => {
await app.people.verifyProfileCount(totalProfiles)
})
- test('show profiles with the correct cannabis preference', async ({
- app,
- signedInAccount,
- }) => {
+ test('show profiles with the correct cannabis preference', async ({app, signedInAccount}) => {
await app.home.clickPeopleLink()
const totalProfiles = await app.people.profileCountLocator.textContent()
@@ -148,10 +139,7 @@ test.describe('when given valid input', () => {
await app.people.verifyProfileCount(totalProfiles)
})
- test('show profiles with the correct political preference', async ({
- app,
- signedInAccount,
- }) => {
+ test('show profiles with the correct political preference', async ({app, signedInAccount}) => {
await app.home.clickPeopleLink()
const totalProfiles = await app.people.profileCountLocator.textContent()
@@ -161,10 +149,7 @@ test.describe('when given valid input', () => {
await app.people.verifyProfileCount(totalProfiles)
})
- test('show profiles with the correct religion preference', async ({
- app,
- signedInAccount,
- }) => {
+ test('show profiles with the correct religion preference', async ({app, signedInAccount}) => {
await app.home.clickPeopleLink()
const totalProfiles = await app.people.profileCountLocator.textContent()
diff --git a/web/pages/messages/[channelId].tsx b/web/pages/messages/[channelId].tsx
index 0a74f684..0c091af1 100644
--- a/web/pages/messages/[channelId].tsx
+++ b/web/pages/messages/[channelId].tsx
@@ -27,7 +27,10 @@ import {useTextEditor} from 'web/components/widgets/editor'
import {CompassLoadingIndicator} from 'web/components/widgets/loading-indicator'
import {BannedBadge, UserAvatarAndBadge} from 'web/components/widgets/user-link'
import {useIsMobile} from 'web/hooks/use-is-mobile'
-import {usePrivateMessages, useSortedPrivateMessageMemberships,} from 'web/hooks/use-private-messages'
+import {
+ usePrivateMessages,
+ useSortedPrivateMessageMemberships,
+} from 'web/hooks/use-private-messages'
import {useRedirectIfSignedOut} from 'web/hooks/use-redirect-if-signed-out'
import {useUser} from 'web/hooks/use-user'
import {useUsersInStore} from 'web/hooks/use-user-supabase'
@@ -272,7 +275,7 @@ export const PrivateChat = (props: {
avatars={members}
onClick={() => setShowUsers(true)}
/>
- ) : (
+ ) : otherUsers === undefined ? null : (
)}
{members && members.length > 0 ? (
@@ -295,7 +298,7 @@ export const PrivateChat = (props: {
.join(', ')}
{members.length > 2 && ` & ${members.length - 2} more`}
- ) : (
+ ) : otherUsers === undefined ? null : (
{t('messages.deleted_user', 'Deleted user')}