style: format with prettier

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-01-18 10:11:53 -08:00
parent 7d0d97bae7
commit 14092b5609

View File

@@ -608,7 +608,14 @@ function ExploreViewContainer(props: ExploreViewContainerProps) {
if (tooltipContents.length > 0) {
const getFieldName = (
item: string | { item_type?: string; column_name?: string; metric_name?: string; label?: string },
item:
| string
| {
item_type?: string;
column_name?: string;
metric_name?: string;
label?: string;
},
): string | null => {
if (typeof item === 'string') return item;
if (item?.item_type === 'column') return item.column_name ?? null;