diff --git a/packages/pl-fe/src/actions/compose.ts b/packages/pl-fe/src/actions/compose.ts index 77ffd1bcf..883856b34 100644 --- a/packages/pl-fe/src/actions/compose.ts +++ b/packages/pl-fe/src/actions/compose.ts @@ -252,7 +252,9 @@ interface ComposeMentionAction { } const mentionCompose = (account: ComposeMentionAction['account']) => - (dispatch: AppDispatch) => { + (dispatch: AppDispatch, getState: () => RootState) => { + if (!getState().me) return; + const action: ComposeMentionAction = { type: COMPOSE_MENTION, composeId: 'compose-modal',