diff --git a/src/components/reactButton.js b/src/components/reactButton.js
index fb0219b..c16cddb 100644
--- a/src/components/reactButton.js
+++ b/src/components/reactButton.js
@@ -25,32 +25,26 @@ function ExistingReacts({ existingReacts, onClick, uid }) {
Reakció
{existingReacts &&
- Object.keys(existingReacts)
- .sort((akey, bkey) => {
- const a = existingReacts[akey]
- const b = existingReacts[bkey]
- return a.length < b.length
- })
- .map((key) => {
- const currReact = existingReacts[key]
- const react = reactions[key]
- if (!react) {
- return null
- }
- return (
-
{
- e.stopPropagation()
- onClick(key, currReact.includes(uid))
- }}
- >
- {react.emoji} {currReact.length}
-
- )
- })}
+ Object.keys(existingReacts).map((key) => {
+ const currReact = existingReacts[key]
+ const react = reactions[key]
+ if (!react) {
+ return null
+ }
+ return (
+
{
+ e.stopPropagation()
+ onClick(key, currReact.includes(uid))
+ }}
+ >
+ {react.emoji} {currReact.length}
+
+ )
+ })}
)
}