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/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import Badge from "../entities/Badge";
|
|
||||||
import IpcEvents from "../../../utils/IpcEvents";
|
import IpcEvents from "../../../utils/IpcEvents";
|
||||||
import { Tooltip } from "../../../webpack/common";
|
import { Tooltip } from "../../../webpack/common";
|
||||||
|
import Badge from "../entities/Badge";
|
||||||
|
|
||||||
export default function ReviewBadge(badge: Badge) {
|
export default function ReviewBadge(badge: Badge) {
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default LazyComponent(() => {
|
||||||
const [
|
const [
|
||||||
{ cozyMessage, buttons },
|
{ cozyMessage, buttons },
|
||||||
{ container, isHeader },
|
{ container, isHeader },
|
||||||
{ avatar, clickable, messageContent, wrapper, cozy },
|
{ avatar, clickable, username, messageContent, wrapper, cozy },
|
||||||
{ contents },
|
{ contents },
|
||||||
buttonClasses,
|
buttonClasses,
|
||||||
{ defaultColor }
|
{ defaultColor }
|
||||||
|
@ -94,7 +94,7 @@ export default LazyComponent(() => {
|
||||||
style={{ left: "0px" }}
|
style={{ left: "0px" }}
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
className={classes(clickable)}
|
className={classes(clickable, username)}
|
||||||
style={{ color: "var(--channels-default)", fontSize: "14px" }}
|
style={{ color: "var(--channels-default)", fontSize: "14px" }}
|
||||||
onClick={() => openModal()}
|
onClick={() => openModal()}
|
||||||
>
|
>
|
||||||
|
|
|
@ -16,9 +16,11 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable semi */
|
||||||
|
|
||||||
export default interface Badge {
|
export default interface Badge {
|
||||||
badge_name: string,
|
badge_name: string,
|
||||||
badge_icon: string,
|
badge_icon: string,
|
||||||
redirect_url: string,
|
redirect_url: string,
|
||||||
badge_type: number,
|
badge_type: number;
|
||||||
};
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue