mirror of
https://github.com/upscayl/upscayl.git
synced 2026-04-03 03:00:13 -04:00
Fix build
This commit is contained in:
@@ -21,7 +21,7 @@ import OverwriteToggle from "./OverwriteToggle";
|
||||
import { UpscaylCloudModal } from "../UpscaylCloudModal";
|
||||
import { ResetSettings } from "./ResetSettings";
|
||||
import ProcessImageToggle from "./ProcessImageToggle";
|
||||
import { FLAGS } from "@/utils/flags";
|
||||
import { featureFlags } from "@common/feature-flags";
|
||||
|
||||
interface IProps {
|
||||
batchMode: boolean;
|
||||
@@ -190,7 +190,7 @@ function SettingsTab({
|
||||
target="_blank">
|
||||
Read Wiki Guide
|
||||
</a>
|
||||
{!FLAGS.APP_STORE_BUILD && <DonateButton />}
|
||||
{!featureFlags.APP_STORE_BUILD && <DonateButton />}
|
||||
</div>
|
||||
|
||||
<LogArea
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
} from "../atoms/userSettingsAtom";
|
||||
import useLog from "../components/hooks/useLog";
|
||||
import { UpscaylCloudModal } from "../components/UpscaylCloudModal";
|
||||
import { FLAGS } from "@/utils/flags";
|
||||
import { featureFlags } from "@common/feature-flags";
|
||||
|
||||
const Home = () => {
|
||||
// STATES
|
||||
@@ -505,7 +505,7 @@ const Home = () => {
|
||||
)}
|
||||
{/* HEADER */}
|
||||
<Header version={version} />
|
||||
{!dontShowCloudModal && !FLAGS.APP_STORE_BUILD && (
|
||||
{!dontShowCloudModal && !featureFlags.APP_STORE_BUILD && (
|
||||
<button
|
||||
className="mb-5 rounded-btn p-1 mx-5 bg-success shadow-lg shadow-success/40 text-slate-50 animate-pulse text-sm"
|
||||
onClick={() => {
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
"@common/*": ["../common/*"]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../app.module.ts"],
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"../app.module.ts",
|
||||
"../common/**/*"
|
||||
],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
export const FLAGS = {
|
||||
APP_STORE_BUILD: true,
|
||||
};
|
||||
Reference in New Issue
Block a user