Skip to content

Commit e5ffc23

Browse files
committed
Always render comment reactions as emojis
1 parent b99e86b commit e5ffc23

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

β€Žsrc/github/utils.tsβ€Ž

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ import { emojify } from '../common/emoji';
5050
import { GitHubRef } from '../common/githubRef';
5151
import Logger from '../common/logger';
5252
import { Remote } from '../common/remote';
53-
import { Resource } from '../common/resources';
5453
import { GITHUB_ENTERPRISE, OVERRIDE_DEFAULT_BRANCH, PR_SETTINGS_NAMESPACE, URI } from '../common/settingKeys';
5554
import * as Common from '../common/timelineEvent';
5655
import { DataUri, toOpenIssueWebviewUri, toOpenPullRequestWebviewUri } from '../common/uri';
@@ -1338,50 +1337,42 @@ export function getReactionGroup(): { title: string; label: string; icon?: strin
13381337
{
13391338
title: 'THUMBS_UP',
13401339
// allow-any-unicode-next-line
1341-
label: 'πŸ‘',
1342-
icon: Resource.icons.reactions.THUMBS_UP,
1340+
label: 'πŸ‘'
13431341
},
13441342
{
13451343
title: 'THUMBS_DOWN',
13461344
// allow-any-unicode-next-line
1347-
label: 'πŸ‘Ž',
1348-
icon: Resource.icons.reactions.THUMBS_DOWN,
1345+
label: 'πŸ‘Ž'
13491346
},
13501347
{
13511348
title: 'LAUGH',
13521349
// allow-any-unicode-next-line
1353-
label: 'πŸ˜„',
1354-
icon: Resource.icons.reactions.LAUGH,
1350+
label: 'πŸ˜„'
13551351
},
13561352
{
13571353
title: 'HOORAY',
13581354
// allow-any-unicode-next-line
1359-
label: 'πŸŽ‰',
1360-
icon: Resource.icons.reactions.HOORAY,
1355+
label: 'πŸŽ‰'
13611356
},
13621357
{
13631358
title: 'CONFUSED',
13641359
// allow-any-unicode-next-line
1365-
label: 'πŸ˜•',
1366-
icon: Resource.icons.reactions.CONFUSED,
1360+
label: 'πŸ˜•'
13671361
},
13681362
{
13691363
title: 'HEART',
13701364
// allow-any-unicode-next-line
1371-
label: '❀️',
1372-
icon: Resource.icons.reactions.HEART,
1365+
label: '❀️'
13731366
},
13741367
{
13751368
title: 'ROCKET',
13761369
// allow-any-unicode-next-line
1377-
label: 'πŸš€',
1378-
icon: Resource.icons.reactions.ROCKET,
1370+
label: 'πŸš€'
13791371
},
13801372
{
13811373
title: 'EYES',
13821374
// allow-any-unicode-next-line
1383-
label: 'πŸ‘€',
1384-
icon: Resource.icons.reactions.EYES,
1375+
label: 'πŸ‘€'
13851376
},
13861377
];
13871378

0 commit comments

Comments
Β (0)