Skip to content

Commit

Permalink
fix(module:space): fix bug of space-compact (#8906)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperLife1119 authored Dec 3, 2024
1 parent 75ee366 commit a63549f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/space/space-compact.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { NZ_SPACE_COMPACT_ITEMS, NZ_SPACE_COMPACT_SIZE } from './space-compact.t
},
providers: [
{ provide: NZ_SPACE_COMPACT_SIZE, useFactory: () => inject(NzSpaceCompactComponent).nzSize },
{ provide: NZ_SPACE_COMPACT_ITEMS, useValue: signal([]) }
{ provide: NZ_SPACE_COMPACT_ITEMS, useFactory: () => signal([]) }
],
changeDetection: ChangeDetectionStrategy.OnPush
})
Expand Down

0 comments on commit a63549f

Please sign in to comment.