mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
fix(serverProfilesToolbox): saved strings nullable
This commit is contained in:
parent
ade179994d
commit
267b27c022
1 changed files with 3 additions and 3 deletions
|
@ -11,12 +11,12 @@ import { Button, GuildMemberStore, UserProfileStore, UserStore } from "@webpack/
|
|||
|
||||
const SummaryItem = findComponentByCodeLazy("borderType", "showBorder", "hideDivider");
|
||||
|
||||
let savedNick = "";
|
||||
let savedPronouns = "";
|
||||
let savedNick: string | null = null;
|
||||
let savedPronouns: string | null = null;
|
||||
|
||||
const { setPendingNickname, setPendingPronouns }: {
|
||||
setPendingNickname: (a: string | null) => void;
|
||||
setPendingPronouns: (a: string) => void;
|
||||
setPendingPronouns: (a: string | null) => void;
|
||||
} = findByPropsLazy("setPendingNickname");
|
||||
|
||||
export default definePlugin({
|
||||
|
|
Loading…
Reference in a new issue