2 Commits

Author SHA1 Message Date
635105c1b7 correct term in email 2025-12-26 08:25:09 +01:00
caa56a3484 fix: switch likes/dislikes button 2025-12-26 08:24:45 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -91,7 +91,7 @@
</svg>
</p>
<p>Hello USER,</p>
<p>click on the following link to set yourself a new password.</p>
<p>click on the following button to set yourself a new password.</p>
<p style="text-align: center; padding: 2rem">
<a
href="LINK"

View File

@@ -151,7 +151,7 @@ export const GraphComponent = () => {
}
useEffect(() => {
setLikes(+!showLikes + +showDislikes);
setLikes(+showLikes + +!showDislikes);
}, [showLikes, showDislikes]);
useEffect(() => {
@@ -275,7 +275,7 @@ export const GraphComponent = () => {
<div className="control">
<button
className={
"button is-primary" + (showLikes ? " is-outlined" : "")
"button is-primary" + (showLikes ? "" : " is-outlined")
}
onClick={() => setShowLikes(!showLikes)}
>
@@ -285,7 +285,7 @@ export const GraphComponent = () => {
<div className="control">
<button
className={
"button is-primary" + (showDislikes ? " is-outlined" : "")
"button is-primary" + (showDislikes ? "" : " is-outlined")
}
onClick={() => setShowDislikes(!showDislikes)}
>