[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-08-24 02:01:00 +00:00
committed by GitHub
parent 15e62961e8
commit 112b898d98
@@ -225,9 +225,10 @@ export const ShowPreviewSettings = ({ applicationId }: Props) => {
</TooltipTrigger> </TooltipTrigger>
<TooltipContent> <TooltipContent>
<p> <p>
Add a labels that will trigger a preview deployment Add a labels that will trigger a preview
for a pull request. If no labels are specified, all deployment for a pull request. If no labels
pull requests will trigger a preview deployment. are specified, all pull requests will trigger
a preview deployment.
</p> </p>
</TooltipContent> </TooltipContent>
</Tooltip> </Tooltip>
@@ -262,7 +263,10 @@ export const ShowPreviewSettings = ({ applicationId }: Props) => {
const input = e.currentTarget; const input = e.currentTarget;
const label = input.value.trim(); const label = input.value.trim();
if (label) { if (label) {
field.onChange([...(field.value || []), label]); field.onChange([
...(field.value || []),
label,
]);
input.value = ""; input.value = "";
} }
} }