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 authored and edoardo committed Jul 12, 2024
1 parent 317bd9e commit 87873cf
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 87873cf

Please sign in to comment.