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
3 changed files with 2 additions and 6 deletions

View File

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

View File

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

View File

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