Merge pull request #1274 from Infisical/fix-vercel-preview-env

Fix: Vercel integration preview environment client side error
This commit is contained in:
Maidul Islam
2024-01-04 10:18:25 -05:00
committed by GitHub
@@ -56,7 +56,7 @@ export default function VercelCreateIntegrationPage() {
appId: targetAppId appId: targetAppId
}); });
const filteredBranches = branches?.filter((branchName) => branchName !== "main").concat(""); const filteredBranches = branches?.filter((branchName) => branchName !== "main").concat();
useEffect(() => { useEffect(() => {
if (workspace) { if (workspace) {
@@ -125,7 +125,7 @@ export default function VercelCreateIntegrationPage() {
subTitle="Select which environment or folder in Infisical you want to sync to Vercel's environment variables." subTitle="Select which environment or folder in Infisical you want to sync to Vercel's environment variables."
> >
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">
<div className="inline flex items-center"> <div className="flex items-center">
<Image <Image
src="/images/integrations/Vercel.png" src="/images/integrations/Vercel.png"
height={30} height={30}