mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
Update src/plugins/betterBanReasons/index.tsx
Co-authored-by: vee <vendicated@riseup.net>
This commit is contained in:
parent
5834fd5568
commit
3dc2eb65a1
1 changed files with 4 additions and 4 deletions
|
@ -87,10 +87,10 @@ export default definePlugin({
|
|||
},
|
||||
},
|
||||
],
|
||||
getReasons: (): { name: string; value: string; }[] => {
|
||||
return settings.store.reasons.map((reason: string) => {
|
||||
return { name: reason, value: reason };
|
||||
});
|
||||
getReasons() {
|
||||
return settings.store.reasons.map(reason => (
|
||||
{ name: reason, value: reason }
|
||||
));
|
||||
},
|
||||
settings,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue