Skip to content

Commit

Permalink
Fix typo messges -> messages
Browse files Browse the repository at this point in the history
Most important place in an error message while using the app in wrapper.tsx
  • Loading branch information
LefterisJP committed Jan 1, 2024
1 parent 19f2963 commit 4bfc489
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go/chat/boxer.go
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ func (b *Boxer) unboxV2orV3orV4(ctx context.Context, boxed chat1.MessageBoxed,
}
case types.UnboxModeQuick:
// we skip this check in quick mode, the idea is we will do it later asynchonously so we can
// deliver messges quicker to the UI.
// deliver messages quicker to the UI.
}

// Open header and verify against VerifyKey
Expand Down
2 changes: 1 addition & 1 deletion go/chat/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ func TestChatSrvGetThreadLocalMarkAsRead(t *testing.T) {
})
require.NoError(t, err)

expectedMessages := 4 // 3 messges and 1 TLF
expectedMessages := 4 // 3 messages and 1 TLF
require.Len(t, tv.Thread.Messages, expectedMessages,
"unexpected response from GetThreadLocal . number of messages")

Expand Down
2 changes: 1 addition & 1 deletion go/chat/uithreadloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ func (t *UIThreadLoader) LoadNonblock(ctx context.Context, chatUI libkb.ChatUI,
// only deliver these updates for the current conv
continue
}
// filter resolved to only update changed messges
// filter resolved to only update changed messages
var changed []chat1.MessageUnboxed
for _, rmsg := range resolved {
if modifiedMap[rmsg.GetMessageID()] {
Expand Down
4 changes: 2 additions & 2 deletions go/stellar/stellarsvc/anchor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func TestAnchorInteractor(t *testing.T) {
}
if res.MessageFromAnchor != nil {
if test.DepositMessage != *res.MessageFromAnchor {
t.Errorf("valid test %d [%s] deposit: result messge %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.DepositMessage)
t.Errorf("valid test %d [%s] deposit: result message %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.DepositMessage)
}
}
}
Expand All @@ -298,7 +298,7 @@ func TestAnchorInteractor(t *testing.T) {
}
if res.MessageFromAnchor != nil {
if test.WithdrawMessage != *res.MessageFromAnchor {
t.Errorf("valid test %d [%s] withdraw: result messge %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.WithdrawMessage)
t.Errorf("valid test %d [%s] withdraw: result message %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.WithdrawMessage)
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions shared/chat/conversation/messages/wrapper/wrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as C from '@/constants'
import * as Kb from '@/common-adapters'
import * as React from 'react'
gimport * as React from 'react'
import {OrdinalContext, HighlightedContext} from '../ids-context'
import EmojiRow from '../emoji-row/container'
import ExplodingHeightRetainer from './exploding-height-retainer/container'
Expand Down Expand Up @@ -326,7 +326,7 @@ const EditCancelRetry = React.memo(function EditCancelRetry(p: {ecrType: EditCan
const m = s.messageMap.get(ordinal)
const outboxID = m?.outboxID
const reason = m?.errorReason ?? ''
const failureDescription = `This messge failed to send${reason ? '. ' : ''}${capitalize(reason)}`
const failureDescription = `This message failed to send${reason ? '. ' : ''}${capitalize(reason)}`
return {failureDescription, outboxID}
})
)
Expand Down

0 comments on commit 4bfc489

Please sign in to comment.