Skip to content

Commit

Permalink
[Justice Counts] Replace curly with straight apostrophe in agency name (
Browse files Browse the repository at this point in the history
#1331)

* replace curly with straight apostrophe

* lint fix

---------

Co-authored-by: Michelle Orden <[email protected]>
  • Loading branch information
morden35 and Michelle Orden authored May 14, 2024
1 parent 8980d24 commit cc30319
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion publisher/src/stores/AdminPanelStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,10 @@ class AdminPanelStore {
}

saveAgencyName(name: string) {
this.agencyProvisioningUpdates.name = name.trim().replaceAll(/\s+/gi, " ");
this.agencyProvisioningUpdates.name = name
.trim()
.replaceAll(/\s+/gi, " ")
.replaceAll("’", "'");
}

updateStateCode(stateCode: StateCodeKey | null) {
Expand Down

0 comments on commit cc30319

Please sign in to comment.