fix : not null artifact and weapon in team calc
CI / Build immutable images and deploy (push) Successful in 2m6s

This commit is contained in:
2026-09-17 17:36:34 +07:00 Unverified
parent 13b6c646fe
commit d5f067627b
7 changed files with 62 additions and 20 deletions
+35
View File
@@ -0,0 +1,35 @@
# shadcn/ui customizations
This project keeps local changes to generated shadcn/ui components. Review these customizations before updating or reinstalling components.
## `Empty`
File: `components/ui/empty.tsx`
The root `Empty` component supports an invalid state through `aria-invalid`:
```tsx
<Empty aria-invalid={hasError}>
{/* empty-state content */}
</Empty>
```
The customization adds a destructive border and ring with these classes:
```text
aria-invalid:border
aria-invalid:border-destructive
aria-invalid:ring-3
aria-invalid:ring-destructive/20
dark:aria-invalid:border-destructive/50
dark:aria-invalid:ring-destructive/40
```
Before updating the component, inspect the upstream diff:
```bash
bunx --bun shadcn@latest add empty --dry-run
bunx --bun shadcn@latest add empty --diff empty.tsx
```
Manually merge upstream changes and preserve the invalid-state classes. Do not use `--overwrite` unless removing local customizations is intentional.