mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 01:46:23 +00:00
fix: we dont need onAgree
This commit is contained in:
parent
8bf688218c
commit
33792f995f
1 changed files with 0 additions and 1 deletions
|
@ -59,7 +59,6 @@ export default definePlugin({
|
|||
props.description = "This channel is password protected. Please enter the password to view the content.";
|
||||
props.agreement = "Enter password";
|
||||
props.disagreement = "Cancel";
|
||||
const oldOnAgree = props.onAgree;
|
||||
props.onAgree = () => {
|
||||
openAccessModal(channel.id, async success => {
|
||||
console.log(success);
|
||||
|
|
Loading…
Reference in a new issue