From 229312da9edfc57e9fc20f488c2b7cf01c8a4fd4 Mon Sep 17 00:00:00 2001 From: Chitlange Sahas Date: Wed, 25 Aug 2021 13:49:33 -0700 Subject: [PATCH] fix: remove margins from SizedTable (#665) --- giraffe/package.json | 2 +- giraffe/src/components/SizedTable.tsx | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/giraffe/package.json b/giraffe/package.json index 22fe60ef..5c24e560 100644 --- a/giraffe/package.json +++ b/giraffe/package.json @@ -1,6 +1,6 @@ { "name": "@influxdata/giraffe", - "version": "2.18.1", + "version": "2.18.2", "main": "dist/index.js", "module": "src/index.js", "license": "MIT", diff --git a/giraffe/src/components/SizedTable.tsx b/giraffe/src/components/SizedTable.tsx index 2629507e..a4ef687d 100644 --- a/giraffe/src/components/SizedTable.tsx +++ b/giraffe/src/components/SizedTable.tsx @@ -28,7 +28,7 @@ export const SizedTable: FunctionComponent = ({ }) => { const env = usePlotEnv(userConfig) - const {margins, config} = env + const {config} = env const {width, height} = config config.showAxes = false @@ -55,11 +55,6 @@ export const SizedTable: FunctionComponent = ({