merge: fix storybook build

* [package][xs]: remove parameter that was not being used

* [package][xs]: remove import that's breaking the build

* [package][xs]: trying to fix build error on Vercel
This commit is contained in:
João Demenech 2023-05-02 17:31:48 -03:00 committed by GitHub
parent 982733737d
commit 72405162a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View File

@ -17,7 +17,7 @@ export function LineChart({
}: LineChartProps) {
var tmp = data;
if (Array.isArray(data)) {
tmp = data.map((r, i) => {
tmp = data.map((r) => {
return { x: r[0], y: r[1] };
});
}

View File

@ -1,5 +1,4 @@
export * from "./components/Table";
export * from "./components/LineChart";
export * from "./components/Vega";
export * from "./components/VegaLite";
export * from "./components/DataRichDocument";
export * from "./components/VegaLite";

View File

@ -4,9 +4,6 @@ import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
export default defineConfig({
define: {
'process.env': {}
},
plugins: [
react(),
dts({