spelling: fetching

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-12-26 17:36:03 -05:00
parent b37a6e61a0
commit 8fb54c7509
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ const actions: ActionTree<HomeState, RootState> = {
const card: LoadingCard = {
type: 'middle-load',
since_id: lastReadStatus.id,
// We don't need to fill this field in the first fetcing.
// We don't need to fill this field in the first fetching.
// Because in most cases there is no new statuses at the first fetching.
// After new statuses are received, if the number of unread statuses is more than 20, max_id is not necessary.
// We can fill max_id when calling fetchTimelineSince.

View File

@ -131,7 +131,7 @@ const actions: ActionTree<NotificationsState, RootState> = {
const card: LoadingCard = {
type: 'middle-load',
since_id: localMarker.last_read_id,
// We don't need to fill this field in the first fetcing.
// We don't need to fill this field in the first fetching.
// Because in most cases there is no new statuses at the first fetching.
// After new statuses are received, if the number of unread statuses is more than 30, max_id is not necessary.
// We can fill max_id when calling fetchTimelineSince.