Skip to content

Commit

Permalink
🐛 fix(Cron): MultipleCtorsFound (#2286)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem committed Dec 18, 2024
1 parent 28170fa commit 4143357
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Masa.Blazor/Presets/Cron/Items/SecondCronItem.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@

@code {

public SecondCronItem() : base(PeriodTypes.Second)
{
}

public SecondCronItem(PeriodTypes period) : base(period)
public SecondCronItem(PeriodTypes period = PeriodTypes.Second) : base(period)
{
}

Expand Down

0 comments on commit 4143357

Please sign in to comment.