From b390859b1e6444eabfe3c5b6b45d06adbcc9307d Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 6 Jan 2024 12:02:01 +0100 Subject: [PATCH] SyntaxError: Identifier 'arrow' has already been declared --- assets/javascripts/templates/path_tmpl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/templates/path_tmpl.js b/assets/javascripts/templates/path_tmpl.js index d802842a..ba17d407 100644 --- a/assets/javascripts/templates/path_tmpl.js +++ b/assets/javascripts/templates/path_tmpl.js @@ -5,9 +5,9 @@ * DS102: Remove unnecessary code created because of implicit returns * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md */ -const arrow = ''; app.templates.path = function (doc, type, entry) { + const arrow = ''; let html = `${doc.fullName}`;