Skip to content

Commit 40ad52e

Browse files
committed
chore: remove emojione
1 parent ed7e94f commit 40ad52e

File tree

5 files changed

+4
-39
lines changed

5 files changed

+4
-39
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
"nprogress": "0.2.0",
105105
"react": "18.2.0",
106106
"react-dom": "18.2.0",
107-
"react-emojione": "5.0.1",
108107
"react-final-form": "6.5.9",
109108
"react-router": "6.16.0",
110109
"react-router-dom": "6.16.0",

pnpm-lock.yaml

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/AllRead.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as React from 'react';
2-
import { emojify } from 'react-emojione';
32

43
import { Constants } from '../utils/constants';
54

@@ -14,7 +13,7 @@ export const AllRead = () => {
1413

1514
return (
1615
<div className="flex flex-1 flex-col justify-center items-center p-4 bg-white dark:bg-gray-dark text-black dark:text-white">
17-
<h1 className="text-5xl mb-5">{emojify(emoji, { output: 'unicode' })}</h1>
16+
<h1 className="text-5xl mb-5">{emoji}</h1>
1817

1918
<h2 className="font-semibold text-xl mb-2 text-semibold">
2019
No new notifications.

src/components/Oops.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as React from 'react';
2-
import { emojify } from 'react-emojione';
32

43
import { Constants } from '../utils/constants';
54

@@ -14,7 +13,7 @@ export const Oops = () => {
1413

1514
return (
1615
<div className="flex flex-1 flex-col justify-center items-center p-4 bg-white dark:bg-gray-dark text-black dark:text-white">
17-
<h1 className="text-5xl mb-5">{emojify(emoji, { output: 'unicode' })}</h1>
16+
<h1 className="text-5xl mb-5">{emoji}</h1>
1817

1918
<h2 className="font-semibold text-xl mb-2 text-semibold">
2019
Something went wrong.

src/utils/constants.ts

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,9 @@ export const Constants = {
1313
// Storage
1414
STORAGE_KEY: 'gitify-storage',
1515

16-
ALLREAD_EMOJIS: [
17-
':wink:',
18-
':tada:',
19-
':tiger:',
20-
':see_no_evil:',
21-
':balloon:',
22-
':confetti_ball:',
23-
':clap:',
24-
':circus_tent:',
25-
':spaghetti:',
26-
],
16+
ALLREAD_EMOJIS: ['😉', '🎉', '🐯', '🙈', '🎈', '🎊', '👏', '🎪', '🍝'],
2717

28-
ERROR_EMOJIS: [
29-
':pensive:',
30-
':disappointed:',
31-
':triumph:',
32-
':scream:',
33-
':cry:',
34-
],
18+
ERROR_EMOJIS: ['🤔', '😞', '😤', '😱', '😭'],
3519
};
3620

3721
export default Constants;

0 commit comments

Comments
 (0)