web/safety-warning: remove misplaced comparison

This commit is contained in:
wukko
2024-08-30 17:25:31 +06:00
parent b878d5f4f9
commit ebb5deb43c

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;