Skip to content

Commit

Permalink
remove unused check on VERCEL_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast committed Feb 6, 2024
1 parent cd0f10d commit a81b2e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/common/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export default function Footer() {
>
<div className={"text-gray-500 text-xs"}>
build {COMMIT_HASH}-{ALLO_VERSION}
{(process.env.VERCEL_ENV === "preview" ||
config.appEnv === "development") && (
{config.appEnv === "development" && (
<button
className="ml-1 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
onClick={() => switchAlloVersion(alloVersionAlternative)}
Expand Down

0 comments on commit a81b2e2

Please sign in to comment.