feat: feature/mvp-sprint-1 Made the thingtime icon random

This commit is contained in:
Nikolaj Frey 2023-08-09 13:41:05 +10:00
parent 914501a1b4
commit 89c1e67467

View File

@ -128,6 +128,9 @@ export const Icon = (props) => {
return "๐Ÿ‘Ž" return "๐Ÿ‘Ž"
} }
if (["thingtime"]?.includes(name)) { if (["thingtime"]?.includes(name)) {
if (Math.random() > 0.5) {
return "๐ŸŒณ"
}
return "๐ŸŒ€" return "๐ŸŒ€"
} }
}, [name]) }, [name])