diff --git a/packages/identity-service/src/notifications/utils.js b/packages/identity-service/src/notifications/utils.js index 80169f2bbc3..1004d0d7e79 100644 --- a/packages/identity-service/src/notifications/utils.js +++ b/packages/identity-service/src/notifications/utils.js @@ -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. * diff --git a/packages/libs/src/services/discoveryProvider/DiscoveryProvider.ts b/packages/libs/src/services/discoveryProvider/DiscoveryProvider.ts index f2266f4daf3..8b5c9a9bcb6 100644 --- a/packages/libs/src/services/discoveryProvider/DiscoveryProvider.ts +++ b/packages/libs/src/services/discoveryProvider/DiscoveryProvider.ts @@ -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 } @@ -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 > { @@ -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() diff --git a/packages/mobile/src/components/comments/useGestureEventHandlers.ts b/packages/mobile/src/components/comments/useGestureEventHandlers.ts index b37920d30c2..f0fc25bc001 100644 --- a/packages/mobile/src/components/comments/useGestureEventHandlers.ts +++ b/packages/mobile/src/components/comments/useGestureEventHandlers.ts @@ -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 @@ -217,7 +217,7 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => { const resistedPosition = highestSnapPoint - Math.sqrt(1 + (highestSnapPoint - draggedPosition)) * - overDragResistanceFactor + overDragResistanceFactor animatedPosition.value = resistedPosition return } @@ -229,7 +229,7 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => { const resistedPosition = lowestSnapPoint + Math.sqrt(1 + (draggedPosition - lowestSnapPoint)) * - overDragResistanceFactor + overDragResistanceFactor animatedPosition.value = resistedPosition return } @@ -242,11 +242,11 @@ export const useGestureEventsHandlers: GestureEventsHandlersHookType = () => { lowestSnapPoint + Math.sqrt( 1 + - (draggedPosition + - negativeScrollableContentOffset - - lowestSnapPoint) + (draggedPosition + + negativeScrollableContentOffset - + lowestSnapPoint) ) * - overDragResistanceFactor + overDragResistanceFactor animatedPosition.value = resistedPosition return } @@ -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 ( !(