Skip to content

Commit f223569

Browse files
committed
Fix typo messges -> messages
Most important place in an error message while using the app in wrapper.tsx
1 parent 19f2963 commit f223569

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

go/chat/boxer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ func (b *Boxer) unboxV2orV3orV4(ctx context.Context, boxed chat1.MessageBoxed,
918918
}
919919
case types.UnboxModeQuick:
920920
// we skip this check in quick mode, the idea is we will do it later asynchonously so we can
921-
// deliver messges quicker to the UI.
921+
// deliver messages quicker to the UI.
922922
}
923923

924924
// Open header and verify against VerifyKey

go/chat/server_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ func TestChatSrvGetThreadLocalMarkAsRead(t *testing.T) {
16861686
})
16871687
require.NoError(t, err)
16881688

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

go/chat/uithreadloader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ func (t *UIThreadLoader) LoadNonblock(ctx context.Context, chatUI libkb.ChatUI,
754754
// only deliver these updates for the current conv
755755
continue
756756
}
757-
// filter resolved to only update changed messges
757+
// filter resolved to only update changed messages
758758
var changed []chat1.MessageUnboxed
759759
for _, rmsg := range resolved {
760760
if modifiedMap[rmsg.GetMessageID()] {

go/stellar/stellarsvc/anchor_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func TestAnchorInteractor(t *testing.T) {
272272
}
273273
if res.MessageFromAnchor != nil {
274274
if test.DepositMessage != *res.MessageFromAnchor {
275-
t.Errorf("valid test %d [%s] deposit: result messge %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.DepositMessage)
275+
t.Errorf("valid test %d [%s] deposit: result message %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.DepositMessage)
276276
}
277277
}
278278
}
@@ -298,7 +298,7 @@ func TestAnchorInteractor(t *testing.T) {
298298
}
299299
if res.MessageFromAnchor != nil {
300300
if test.WithdrawMessage != *res.MessageFromAnchor {
301-
t.Errorf("valid test %d [%s] withdraw: result messge %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.WithdrawMessage)
301+
t.Errorf("valid test %d [%s] withdraw: result message %q, expected %q", i, test.Name, *res.MessageFromAnchor, test.WithdrawMessage)
302302
}
303303
}
304304
}

shared/chat/conversation/messages/wrapper/wrapper.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ const EditCancelRetry = React.memo(function EditCancelRetry(p: {ecrType: EditCan
326326
const m = s.messageMap.get(ordinal)
327327
const outboxID = m?.outboxID
328328
const reason = m?.errorReason ?? ''
329-
const failureDescription = `This messge failed to send${reason ? '. ' : ''}${capitalize(reason)}`
329+
const failureDescription = `This message failed to send${reason ? '. ' : ''}${capitalize(reason)}`
330330
return {failureDescription, outboxID}
331331
})
332332
)

0 commit comments

Comments
 (0)