From 43190b7a35330acaa9fbb0f5a9d5ee14c221b0d7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 23 Dec 2025 01:03:40 -0600 Subject: [PATCH] Small refactor in ConfigureRepoStep --- src/components/git-sync/steps/ConfigureRepoStep.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/git-sync/steps/ConfigureRepoStep.tsx b/src/components/git-sync/steps/ConfigureRepoStep.tsx index 01af3597..0bbd4a94 100644 --- a/src/components/git-sync/steps/ConfigureRepoStep.tsx +++ b/src/components/git-sync/steps/ConfigureRepoStep.tsx @@ -65,13 +65,12 @@ export function ConfigureRepoStep({ // Get the template name const dotAI = new DotAI(fs, `${projectsPath}/${projectId}`); const template = await dotAI.readTemplate(); - const templateName = template?.name; // Build t-tags array const tTags = ['shakespeare']; - if (templateName) { - tTags.push(templateName); + if (template) { + tTags.push(template.name); } // Create the repository announcement event