Skip to content

Commit

Permalink
chore: fix some typos in comments (#1415)
Browse files Browse the repository at this point in the history
Signed-off-by: TechVest <techdashen@qq.com>
  • Loading branch information
TechVest committed Apr 17, 2024
1 parent 2ab46d1 commit 052580c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ios/App/VoyagerActionExtension/ActionRequestHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import MobileCoreServices
import UIKit
import UniformTypeIdentifiers

// Sample code was sending this from a thread to another, let asume @Sendable for this
// Sample code was sending this from a thread to another, let assume @Sendable for this
extension NSExtensionContext: @unchecked Sendable {}

final class ActionRequestHandler: NSObject, NSExtensionRequestHandling, Sendable {
Expand Down
2 changes: 1 addition & 1 deletion src/features/community/list/deepLinkReadySlice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface DeepLinkReadySlice {
}

const initialState: DeepLinkReadySlice = {
// not-installed is always initially boostrapped, because no initial page push/redirect is done
// not-installed is always initially bootstrapped, because no initial page push/redirect is done
ready: !isInstalled(),
};

Expand Down
2 changes: 1 addition & 1 deletion src/helpers/usePreservePositionFromBottomInScrollView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useMemo } from "react";
/**
* Sometimes we want to preserve the scroll position
* relative to the bottom of the scroll view. This function
* observes reflow to programatically scroll until user interaction
* observes reflow to programmatically scroll until user interaction
*
* This is because sometimes images will load above the viewport
* (and Safari doesn't have a good scroll anchoring implementation yet)
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/virtua.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { forwardRef } from "react";
import { CustomItemComponentProps } from "virtua";

/**
* Add data-index to each item for programatic scrolling
* Add data-index to each item for programmatic scrolling
*/
export const IndexedVirtuaItem = forwardRef<
HTMLDivElement,
Expand Down

0 comments on commit 052580c

Please sign in to comment.