web/safety-warning: remove misplaced comparison

This commit is contained in:
wukko 2024-08-30 17:25:31 +06:00
parent b878d5f4f9
commit ebb5deb43c
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -62,7 +62,7 @@ export const apiOverrideWarning = async () => {
}
export const customInstanceWarning = async () => {
if (env.DEFAULT_API && !get(settings).processing.seenCustomWarning) {
if (!get(settings).processing.seenCustomWarning) {
let _actions: {
resolve: () => void;
reject: () => void;