Skip to content

Commit 686a2d7

Browse files
committed
Tidy up
1 parent de6a6a1 commit 686a2d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PocketDDD.BlazorClient/PocketDDD.BlazorClient/Features/EventScore/Store/EventScoreEffects.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public EventScoreEffects(LocalStorageContext localStorage, IDispatcher dispatche
1919
[EffectMethod]
2020
public async Task OnFetchExistingEventScore(FetchExistingEventScoreAction action, IDispatcher dispatcher)
2121
{
22-
var eventScore = await _localStorage.EventScore.GetOrDefaultAsync(() => 0);
22+
var eventScore = await _localStorage.EventScore.GetAsync();
2323
dispatcher.Dispatch(new SetEventScoreAction(eventScore));
2424
}
2525
}

0 commit comments

Comments
 (0)