Compare commits

...

7 Commits

  1. 3
      .dumi/theme/builtins/DemoWrapper/index.tsx
  2. 2
      package.json

3
.dumi/theme/builtins/DemoWrapper/index.tsx

@ -75,8 +75,7 @@ const DemoWrapper: typeof DumiDemoGrid = ({ items }) => {
)} )}
</Tooltip> </Tooltip>
</span> </span>
{/* FIXME: find a new way instead of `key` to trigger re-render */} <DumiDemoGrid items={demos} />
<DumiDemoGrid items={demos} key={`${expandAll}${showDebug}`} />
</div> </div>
); );
}; };

2
package.json

@ -213,7 +213,7 @@
"cheerio": "1.0.0-rc.12", "cheerio": "1.0.0-rc.12",
"cross-env": "^7.0.0", "cross-env": "^7.0.0",
"dekko": "^0.2.1", "dekko": "^0.2.1",
"dumi": "^2.1.17", "dumi": "^2.1.23",
"duplicate-package-checker-webpack-plugin": "^3.0.0", "duplicate-package-checker-webpack-plugin": "^3.0.0",
"esbuild-loader": "^3.0.0", "esbuild-loader": "^3.0.0",
"eslint": "^8.40.0", "eslint": "^8.40.0",

Loading…
Cancel
Save