diff --git a/knip.jsonc b/knip.jsonc index cf1229bd9..738883ce7 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -47,7 +47,6 @@ "src/components/application-starter/CustomAddonDialog.tsx", "src/components/application-starter/CustomTemplateDialog.tsx", "src/components/application-starter/FeaturePicker.tsx", - "src/components/application-starter/TemplatePicker.tsx", "src/components/application-starter/index.ts", "src/components/game/engine/entities/index.ts", "src/components/game/ui/DiscoveryProgress.tsx", diff --git a/src/components/application-starter/TemplatePicker.tsx b/src/components/application-starter/TemplatePicker.tsx deleted file mode 100644 index be68a9bd7..000000000 --- a/src/components/application-starter/TemplatePicker.tsx +++ /dev/null @@ -1,76 +0,0 @@ -/** - * TemplatePicker - Preset template selection for common app types - */ - -import { twMerge } from 'tailwind-merge' -import { TEMPLATES } from '~/application-starter/templates' -import { useApplicationStarterStore } from './store' - -export function TemplatePicker() { - const selectedTemplate = useApplicationStarterStore((s) => s.selectedTemplate) - const setTemplate = useApplicationStarterStore((s) => s.setTemplate) - const featuresLoaded = useApplicationStarterStore((s) => s.featuresLoaded) - - return ( -
-

- Template -

-

- Start with a preset configuration -

-
- {TEMPLATES.map((template) => { - const Icon = template.icon - const isSelected = selectedTemplate === template.id - const color = template.color - - return ( - - ) - })} -
-
- ) -}