Add emoji prop, remove loud log
This commit is contained in:
@@ -67,10 +67,6 @@ export class MetricsClient<M extends Record<string, any>> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async sendBatch(events: Event<M>[], isRetry: boolean = false) {
|
private async sendBatch(events: Event<M>[], isRetry: boolean = false) {
|
||||||
logger.debug(`sendBatch: ${events.length}`, {
|
|
||||||
isRetry,
|
|
||||||
})
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const body = JSON.stringify({events})
|
const body = JSON.stringify({events})
|
||||||
if (env.IS_WEB && 'navigator' in globalThis && navigator.sendBeacon) {
|
if (env.IS_WEB && 'navigator' in globalThis && navigator.sendBeacon) {
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ function ProfileCard({minimal}: {minimal: boolean}) {
|
|||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
<Text
|
<Text
|
||||||
|
emoji
|
||||||
style={[a.font_bold, a.text_sm, a.leading_snug]}
|
style={[a.font_bold, a.text_sm, a.leading_snug]}
|
||||||
numberOfLines={1}>
|
numberOfLines={1}>
|
||||||
{sanitizeDisplayName(
|
{sanitizeDisplayName(
|
||||||
|
|||||||
Reference in New Issue
Block a user