diff --git a/app/javascript/flavours/glitch/features/ui/components/columns_area.js b/app/javascript/flavours/glitch/features/ui/components/columns_area.js
index f87c078ece..71cb7e8c94 100644
--- a/app/javascript/flavours/glitch/features/ui/components/columns_area.js
+++ b/app/javascript/flavours/glitch/features/ui/components/columns_area.js
@@ -30,6 +30,8 @@ const componentMap = {
'LIST': ListTimeline,
};
+const shouldHideFAB = path => path.match(/^\/statuses\//);
+
const messages = defineMessages({
publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },
});
@@ -158,7 +160,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
this.pendingIndex = null;
if (singleColumn) {
- const floatingActionButton = this.context.router.history.location.pathname === '/statuses/new' ? null : ;
+ const floatingActionButton = shouldHideFAB(this.context.router.history.location.pathname) ? null : ;
return columnIndex !== -1 ? [