Fix rnw leftover style merging

This commit is contained in:
Zoe Roux
2022-12-11 14:32:34 +09:00
parent b481f94f68
commit ce530417ab
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "yoshiki",
"version": "0.2.8",
"version": "0.2.9",
"author": "Zoe Roux <zoe.roux@sdg.moe> (https://github.com/AnonymusRaccoon)",
"license": "MIT",
"keywords": [
+2 -1
View File
@@ -38,7 +38,8 @@ export const useYoshiki = () => {
preprocessBlock: rnwPreprocess,
preprocess
});
return [inline, { $$css: true, yoshiki: classNames }];
// We use the inlineList and not the inline we have locally since $$css and inlines are not mergable.
return [inlineList, { $$css: true, yoshiki: classNames }];
};
const loStyle = leftOvers?.style;