MAKE USERNAMES CLICKABLE AGAIN

This commit is contained in:
Manti 2022-11-22 22:38:14 +03:00
parent 250a10b6c4
commit 19bbea5f32
3 changed files with 7 additions and 5 deletions

View file

@ -16,9 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import Badge from "../entities/Badge";
import IpcEvents from "../../../utils/IpcEvents";
import { Tooltip } from "../../../webpack/common";
import Badge from "../entities/Badge";
export default function ReviewBadge(badge: Badge) {
return (

View file

@ -31,7 +31,7 @@ export default LazyComponent(() => {
const [
{ cozyMessage, buttons },
{ container, isHeader },
{ avatar, clickable, messageContent, wrapper, cozy },
{ avatar, clickable, username, messageContent, wrapper, cozy },
{ contents },
buttonClasses,
{ defaultColor }
@ -94,7 +94,7 @@ export default LazyComponent(() => {
style={{ left: "0px" }}
/>
<span
className={classes(clickable)}
className={classes(clickable, username)}
style={{ color: "var(--channels-default)", fontSize: "14px" }}
onClick={() => openModal()}
>

View file

@ -16,9 +16,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/* eslint-disable semi */
export default interface Badge {
badge_name: string,
badge_icon: string,
redirect_url: string,
badge_type: number,
};
badge_type: number;
}