From bf792c77f470c672baf0e5460dbc34b14e8168e1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 5 Sep 2024 10:19:01 +0200 Subject: [PATCH] Remove unused `notContainAnyOma` regex --- src/utils/supports.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/supports.js b/src/utils/supports.js index c7719bcb..fb81d919 100644 --- a/src/utils/supports.js +++ b/src/utils/supports.js @@ -8,7 +8,6 @@ import { getCurrentInstance } from './store-utils'; const containPixelfed = /pixelfed/i; const notContainPixelfed = /^(?!.*pixelfed).*$/i; const containAnyOma = /(?:pler|akk)oma/i -const notContainAnyOma = /^(?! *(?:pler|akk)oma) *$/i const platformFeatures = { '@mastodon/lists': notContainPixelfed, '@mastodon/filters': notContainPixelfed,