Skip to content

chore: remove redundant words in comment and format #11639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/identity-service/src/notifications/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function updateBlockchainIds() {
}
}

/* We use a JS implementation of the the HashIds protocol (http://hashids.org)
/* We use a JS implementation of the HashIds protocol (http://hashids.org)
* to obfuscate our monotonically increasing int IDs as
* strings in our consumable API.
*
Expand Down
20 changes: 10 additions & 10 deletions packages/libs/src/services/discoveryProvider/DiscoveryProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ export type UserProfile = {
handle: string
verified: boolean
profilePicture:
| { '150x150': string; '480x480': string; '1000x1000': string }
| null
| undefined
| { '150x150': string; '480x480': string; '1000x1000': string }
| null
| undefined
sub: number
iat: string
}
Expand Down Expand Up @@ -1384,12 +1384,12 @@ export class DiscoveryProvider {
blockNumber?: number
): Promise<
| {
latest_indexed_block: number
latest_chain_block: number
latest_indexed_slot_plays: number
latest_chain_slot_plays: number
data: Response
}
latest_indexed_block: number
latest_chain_block: number
latest_indexed_slot_plays: number
latest_chain_slot_plays: number
data: Response
}
| undefined
| null
> {
Expand Down Expand Up @@ -1472,7 +1472,7 @@ export class DiscoveryProvider {
// Validate health check response

// Regressed mode signals we couldn't find a node that wasn't behind by some measure
// so we should should pick something
// so we should pick something
const notInRegressedMode =
this.ethContracts && !this.ethContracts.isInRegressedMode()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => {
const negativeScrollableContentOffset =
(context.initialPosition === highestSnapPoint &&
source === GESTURE_SOURCE.SCROLLABLE) ||
!context.isScrollablePositionLocked
!context.isScrollablePositionLocked
? animatedScrollableContentOffsetY.value * -1
: 0

Expand Down Expand Up @@ -217,7 +217,7 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => {
const resistedPosition =
highestSnapPoint -
Math.sqrt(1 + (highestSnapPoint - draggedPosition)) *
overDragResistanceFactor
overDragResistanceFactor
animatedPosition.value = resistedPosition
return
}
Expand All @@ -229,7 +229,7 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => {
const resistedPosition =
lowestSnapPoint +
Math.sqrt(1 + (draggedPosition - lowestSnapPoint)) *
overDragResistanceFactor
overDragResistanceFactor
animatedPosition.value = resistedPosition
return
}
Expand All @@ -242,11 +242,11 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => {
lowestSnapPoint +
Math.sqrt(
1 +
(draggedPosition +
negativeScrollableContentOffset -
lowestSnapPoint)
(draggedPosition +
negativeScrollableContentOffset -
lowestSnapPoint)
) *
overDragResistanceFactor
overDragResistanceFactor
animatedPosition.value = resistedPosition
return
}
Expand Down Expand Up @@ -347,7 +347,7 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => {
* the end touch point is below the keyboard position then
* we exit the method.
*
* because the the keyboard dismiss is interactive in iOS.
* because the keyboard dismiss is interactive in iOS.
*/
if (
!(
Expand Down