mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: ForceUseSvgFlag env name
This commit is contained in:
parent
8c7baae37e
commit
431dd61c71
@ -5,7 +5,7 @@ import { env } from "next-runtime-env";
|
||||
export default function ServerFlag({ country_code }: { country_code: string }) {
|
||||
const [supportsEmojiFlags, setSupportsEmojiFlags] = useState(false);
|
||||
|
||||
const useSvgFlag = env("ForceUseSvgFlag") === "true";
|
||||
const useSvgFlag = env("NEXT_PUBLIC_ForceUseSvgFlag") === "true";
|
||||
|
||||
useEffect(() => {
|
||||
if (useSvgFlag) {
|
||||
|
Loading…
Reference in New Issue
Block a user