Skip to content

Commit b041e9d

Browse files
committed
fix: typo
1 parent c522660 commit b041e9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/components/Compare/FacetScatterChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ref, computed } from 'vue'
44
import type { FormatterParams, VueUiScatterConfig, VueUiScatterDatasetItem } from 'vue-data-ui'
55
import { VueUiScatter } from 'vue-data-ui/vue-ui-scatter'
66
import { buildCompareScatterChartDataset } from '~/utils/compare-scatter-chart'
7-
import { loadFile } from '~/utils/charts'
7+
import { loadFile, copyAltTextForCompareScatterChart } from '~/utils/charts'
88
99
import('vue-data-ui/style.css')
1010
@@ -156,7 +156,7 @@ const config = computed<VueUiScatterConfig>(() => {
156156
URL.revokeObjectURL(url)
157157
},
158158
altCopy: ({ dataset: dst, config: cfg }) => {
159-
coopyAltTextForCompareScatterChart({
159+
copyAltTextForCompareScatterChart({
160160
dataset: dst,
161161
config: {
162162
...cfg,

app/utils/charts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ export function createAltTextForCompareScatterChart({
697697
return altText
698698
}
699699

700-
export async function coopyAltTextForCompareScatterChart({
700+
export async function copyAltTextForCompareScatterChart({
701701
dataset,
702702
config,
703703
}: AltCopyArgs<VueUiScatterSeries[], CompareScatterChartConfig>) {

0 commit comments

Comments
 (0)