Skip to content
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

remove repetitive words #7662

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 apps/mobile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ These are some tools you might want to familiarize yourself with to understand t

## Migrations

We use `redux-persist` to persist Redux state between user sessions. When the Redux state schema is altered, a migration may be needed to transfer the existing persisted state to the new Redux schema. Failing to define a migration results in the app defaulting to the persisted schema, which will very likely cause `undefined` errors because the code has references to Redux state properties that were dropped in favor the the persisted schema.
We use `redux-persist` to persist Redux state between user sessions. When the Redux state schema is altered, a migration may be needed to transfer the existing persisted state to the new Redux schema. Failing to define a migration results in the app defaulting to the persisted schema, which will very likely cause `undefined` errors because the code has references to Redux state properties that were dropped in favor the persisted schema.

### When to define a migration

Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/src/app/navigation/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function useEagerExternalProfileRootNavigation(): {
/**
* Utility hook that checks if the caller is part of the navigation tree.
*
* Inspired by how the navigation library checks if the the navigation object exists.
* Inspired by how the navigation library checks if the navigation object exists.
* https://github.com/react-navigation/react-navigation/blob/d7032ba8bb6ae24030a47f0724b61b561132fca6/packages/core/src/useNavigation.tsx#L18
*/
export function useIsPartOfNavigationTree(): boolean {
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/src/features/deepLinking/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Universal Links

Universal links allow 3rd parties to prompt the app to open to specific screens when it is installed on their device. If the app isn't installed it will open that page in Safari (a 404 on uniswap.org in this case). All universal links must use the the prefix `https://uniswap.org/app`.
Universal links allow 3rd parties to prompt the app to open to specific screens when it is installed on their device. If the app isn't installed it will open that page in Safari (a 404 on uniswap.org in this case). All universal links must use the prefix `https://uniswap.org/app`.

## Supported Screens

Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/src/polyfills/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// Import the crypto getRandomValues shim BEFORE ethers shims
import 'react-native-get-random-values'
// Import the the ethers shims BEFORE ethers
// Import the ethers shims BEFORE ethers
import '@ethersproject/shims'
// Add .at() method to Array if necessary (missing before iOS 15)
import 'src/polyfills/arrayAt'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ In keeping with the fast pace of the UNI ecosystem, we organize time in epochs,

**Wave 3 & Beyond**

* Beginning with Wave 3, there should have been enough time with impactful projects funded to be considered for follow-on funding, should it make sense. In the same vein, projects within scope will be expanded to also include those working on integrations and and other key components.
* Beginning with Wave 3, there should have been enough time with impactful projects funded to be considered for follow-on funding, should it make sense. In the same vein, projects within scope will be expanded to also include those working on integrations and other key components.

* Beyond the second epoch, as the community helps to review and help adapt UGP to be most effective, the scope will continue to grow in order to accommodate the state of the ecosystem including that of core protocol improvements

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/nft/pages/collection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const MobileFilterHeader = styled(Row)`
justify-content: space-between;
`

// Sticky navbar on light mode looks incorrect because the box shadows from assets overlap the the edges of the navbar.
// Sticky navbar on light mode looks incorrect because the box shadows from assets overlap the edges of the navbar.
// As a result it needs 16px padding on either side. These paddings are offset by 16px to account for this. Please see CollectionNFTs.css.ts for the additional sizing context.
// See breakpoint values in ScreenBreakpointsPaddings above - they must match
const CollectionDisplaySection = styled(Row)`
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/state/migrations/3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type PersistAppStateV3 = {
*/
export const migration3 = (state: PersistAppStateV3 | undefined) => {
if (state?.user) {
// Update USDC.e tokens to use the the new USDC.e symbol (from USDC)
// Update USDC.e tokens to use the new USDC.e symbol (from USDC)
const USDCe_ADDRESSES: { [key in ChainId]?: string } = {
[ChainId.OPTIMISM]: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
[ChainId.OPTIMISM_GOERLI]: '0x7E07E15D2a87A24492740D16f5bdF58c16db0c4E',
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/state/migrations/5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const migration5 = (state: PersistAppStateV5 | undefined) => {
if (state?.user && 'optedOutOfUniswapX' in state.user) {
delete state.user['optedOutOfUniswapX']
}
// If the the user has previously disabled UniswapX *during the opt-out rollout period*, we respect that preference.
// If the user has previously disabled UniswapX *during the opt-out rollout period*, we respect that preference.
if (state?.user && !userOptedOutOfUniswapX) {
return {
...state,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/state/migrations/7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const migration7 = (state: PersistAppStateV7 | undefined) => {
if (state?.user && 'hideAndroidAnnouncementBanner' in state.user) {
delete state.user['hideAndroidAnnouncementBanner']
}
// If the the user has previously hidden the Android announcement banner, we respect that preference.
// If the user has previously hidden the Android announcement banner, we respect that preference.
if (state?.user && userHidAndroidAnnouncementBanner) {
return {
...state,
Expand Down