mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Added comments to news items
This commit is contained in:
@@ -5,6 +5,7 @@ import Tooltip from './tooltip.js'
|
||||
import styles from './reactButton.module.css'
|
||||
import reactions from '../data/reactions.json'
|
||||
|
||||
// TODO: fixdis
|
||||
const breakEvery = 7
|
||||
|
||||
function ExistingReacts({ existingReacts, onClick, uid }) {
|
||||
@@ -20,6 +21,7 @@ function ExistingReacts({ existingReacts, onClick, uid }) {
|
||||
}
|
||||
return (
|
||||
<div
|
||||
title={currReact.join(', ')}
|
||||
className={`${currReact.includes(uid) && styles.reacted}`}
|
||||
key={key}
|
||||
onClick={() => {
|
||||
@@ -78,6 +80,7 @@ export default function ReactButton({ onClick, existingReacts, uid }) {
|
||||
|
||||
return (
|
||||
<div
|
||||
className={styles.reactContainer}
|
||||
onMouseEnter={() => {
|
||||
setOpened(true)
|
||||
}}
|
||||
|
Reference in New Issue
Block a user