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:
@@ -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] };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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";
|
|
||||||
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user