Skip to content

Commit

Permalink
chore: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
krantheman committed Oct 23, 2024
1 parent a3022cf commit 5465aa0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frontend/src/plugins/translationsPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ function makeTranslationFunction() {
translate,
load: () => Promise.allSettled([
setup(),
// TODO: load dayjs locales
setupDayjs(),
]),
}
Expand All @@ -27,10 +28,6 @@ function makeTranslationFunction() {
}
}

async function setupDayjs() {
// TODO
}

function translate(txt, replace, context = null) {
if (!txt || typeof txt != "string") return txt;

Expand Down

0 comments on commit 5465aa0

Please sign in to comment.