Skip to content

Commit

Permalink
chore: use named functions for default exports too
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Jul 2, 2024
1 parent 1036448 commit 7c8d2c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function getDefault(layout, dashboard, filterTitle) {
}
}

export default function (series, layout, metaData, dashboard) {
export default function subtitle(series, layout, metaData, dashboard) {
const fontStyle = mergeFontStyleWithDefault(
layout.fontStyle && layout.fontStyle[FONT_STYLE_VISUALIZATION_SUBTITLE],
FONT_STYLE_VISUALIZATION_SUBTITLE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import getFilterText from '../../../../util/getFilterText.js'

export default function (layout, metaData, dashboard) {
export default function yearOverYear(layout, metaData, dashboard) {
const titleFragments = []

if (layout.columns && layout.columns.length && !dashboard) {
Expand Down

0 comments on commit 7c8d2c8

Please sign in to comment.