Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Revert "#674 jest unexpected token"
Browse files Browse the repository at this point in the history
This reverts commit d34e95c.
  • Loading branch information
gchi25 committed Apr 22, 2023
1 parent d34e95c commit 0d390d2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/BetaUsaGovHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,11 @@ export default {
methods: {
sanitizedHeadingUrl(benefitUrl, defaultValue = "#") {
if (benefitUrl) {
if (benefitUrl.length > 0) {
return this.sanitizeUrl(benefitUrl)
}
if (benefitUrl && benefitUrl.length > 0) {
return this.sanitizeUrl(benefitUrl)
} else {
return defaultValue
}
return defaultValue
},
skipLink() {
const skipLink = document.getElementById("main-content")
Expand Down

0 comments on commit 0d390d2

Please sign in to comment.