Skip to content

Commit

Permalink
ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
eoverly committed Sep 10, 2024
1 parent 762fbea commit bbf5c75
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pages/wizard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import Layout from "../layouts"
const STORAGE_PATH = "cms-hpt-file-name-wizard"

const EIN_REGEX = /^\d{2}-?\d{7}$/
//const EIN_REGEX = /^\d{9}$/
const NPI_REGEX = /^\d{10}$/

const Wizard = () => {
Expand All @@ -41,11 +40,11 @@ const Wizard = () => {
}, [state.name, state.ein, state.fileType, state.npi])

const getFilename = () =>
`${state.ein.replace(/-/g,"") || "<ein>"}${
`${state.ein.replace(/-/g, "") || "<ein>"}${
state.showNpi && state.npi ? `-${state.npi}` : ``
}_${state.name.replace(/\s/g, "-").toLowerCase() || "<hospitalname>"}_standardcharges.${
state.fileType || "<format>"
}`
}_${
state.name.replace(/\s/g, "-").toLowerCase() || "<hospitalname>"
}_standardcharges.${state.fileType || "<format>"}`

const getAlertParams = () => {
if (!(state.name.trim() && state.ein.trim() && state.fileType)) {
Expand Down

0 comments on commit bbf5c75

Please sign in to comment.