1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

fix: we dont need onAgree

This commit is contained in:
Lillith 2024-06-28 19:26:21 -04:00
parent 8bf688218c
commit 33792f995f

View file

@ -59,7 +59,6 @@ export default definePlugin({
props.description = "This channel is password protected. Please enter the password to view the content."; props.description = "This channel is password protected. Please enter the password to view the content.";
props.agreement = "Enter password"; props.agreement = "Enter password";
props.disagreement = "Cancel"; props.disagreement = "Cancel";
const oldOnAgree = props.onAgree;
props.onAgree = () => { props.onAgree = () => {
openAccessModal(channel.id, async success => { openAccessModal(channel.id, async success => {
console.log(success); console.log(success);