From becb80611aac7ecfb4568ff692dbe1b3000357bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 10 Jul 2023 10:24:48 +0200 Subject: [PATCH] Fix features.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/hooks/forms/useImageField.ts | 1 - app/soapbox/utils/features.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/soapbox/hooks/forms/useImageField.ts b/app/soapbox/hooks/forms/useImageField.ts index 704ea45d4..dea5a0079 100644 --- a/app/soapbox/hooks/forms/useImageField.ts +++ b/app/soapbox/hooks/forms/useImageField.ts @@ -15,7 +15,6 @@ interface UseImageFieldOpts { function useImageField(opts: UseImageFieldOpts = {}) { const [file, setFile] = useState(); const src = usePreview(file) || (file === null ? undefined : opts.preview); - console.log(file, src); const onChange: React.ChangeEventHandler = async ({ target: { files } }) => { const file = files?.item(0); diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 417dca281..50c606fb4 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -471,7 +471,7 @@ const getInstanceFeatures = (instance: Instance) => { */ familiarFollowers: any([ v.software === MASTODON && gte(v.version, '3.5.0'), - v.software === PLEROMA && gte(v.version, '2.5.52') && v.build === REBASED, + v.software === PLEROMA && gte(v.version, '2.5.51') && v.build === REBASED, v.software === TAKAHE, ]),