mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
Styles: fix wrong style object being passed to compileStyle in setStyle
This commit is contained in:
parent
9a44ab6046
commit
277bdb29d7
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ export function setStyle(style: Style) {
|
|||
if (!styleMap.has(style.name)) styleMap.set(style.name, style);
|
||||
const storedStyle = requireStyle(style.name);
|
||||
Object.assign(storedStyle, style);
|
||||
compileStyle(style);
|
||||
compileStyle(storedStyle);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue