Skip to content

Commit 16e06ee

Browse files
committed
Correct table trace for traceTypeToAxisType
1 parent 5c4a472 commit 16e06ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/getAllAxes.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ export function traceTypeToAxisType(traceType) {
6060
return null;
6161
}
6262

63+
if (traceType === 'table') {
64+
return null;
65+
}
66+
6367
throw new Error(`Sorry, could not find ${traceType} in any category.`);
6468
}
6569

0 commit comments

Comments
 (0)