mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-25 07:48:32 +00:00
MAKE USERNAMES CLICKABLE AGAIN
This commit is contained in:
parent
250a10b6c4
commit
19bbea5f32
3 changed files with 7 additions and 5 deletions
|
@ -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 (
|
||||
|
|
|
@ -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()}
|
||||
>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue