From ce530417abc9630558509da1f84752da4dd9cb02 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 11 Dec 2022 14:32:34 +0900 Subject: [PATCH] Fix rnw leftover style merging --- packages/yoshiki/package.json | 2 +- packages/yoshiki/src/native/generator.web.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/yoshiki/package.json b/packages/yoshiki/package.json index 05c02ac..b2ad958 100644 --- a/packages/yoshiki/package.json +++ b/packages/yoshiki/package.json @@ -1,6 +1,6 @@ { "name": "yoshiki", - "version": "0.2.8", + "version": "0.2.9", "author": "Zoe Roux (https://github.com/AnonymusRaccoon)", "license": "MIT", "keywords": [ diff --git a/packages/yoshiki/src/native/generator.web.ts b/packages/yoshiki/src/native/generator.web.ts index 4cfc54b..cedf962 100644 --- a/packages/yoshiki/src/native/generator.web.ts +++ b/packages/yoshiki/src/native/generator.web.ts @@ -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;