Skip to content

Commit 6ed99fa

Browse files
Copilothotlong
andcommitted
fix: rename template variable for clarity per code review
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 6c2437d commit 6ed99fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/plugin-designer/src/AppCreationWizard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,9 @@ function BasicInfoStep({ draft, templates, readOnly, onChange, t }: BasicInfoSte
288288
className="block w-full rounded-md border border-gray-300 px-3 py-2 text-sm shadow-sm outline-none transition-colors focus:border-blue-500 focus:ring-1 focus:ring-blue-500 disabled:cursor-not-allowed disabled:bg-gray-50"
289289
>
290290
<option value="">None</option>
291-
{templates.map((tpl) => (
292-
<option key={tpl.id} value={tpl.id}>
293-
{tpl.label}
291+
{templates.map((template) => (
292+
<option key={template.id} value={template.id}>
293+
{template.label}
294294
</option>
295295
))}
296296
</select>

0 commit comments

Comments
 (0)