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");
|
const SummaryItem = findComponentByCodeLazy("borderType", "showBorder", "hideDivider");
|
||||||
|
|
||||||
let savedNick = "";
|
let savedNick: string | null = null;
|
||||||
let savedPronouns = "";
|
let savedPronouns: string | null = null;
|
||||||
|
|
||||||
const { setPendingNickname, setPendingPronouns }: {
|
const { setPendingNickname, setPendingPronouns }: {
|
||||||
setPendingNickname: (a: string | null) => void;
|
setPendingNickname: (a: string | null) => void;
|
||||||
setPendingPronouns: (a: string) => void;
|
setPendingPronouns: (a: string | null) => void;
|
||||||
} = findByPropsLazy("setPendingNickname");
|
} = findByPropsLazy("setPendingNickname");
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
|
|
Loading…
Reference in a new issue