fix: escape apostrophes in alert notification strings
Fixes build failure caused by unescaped apostrophes in single-quoted strings. The Vite/Babel parser was failing on "You'll" and "you'll" in ActivationModal.tsx, preventing successful frontend builds.
This commit is contained in:
parent
7c00055047
commit
29bb2460e4
1 changed files with 2 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ export function ActivationModal(props: ActivationModalProps): JSX.Element {
|
|||
|
||||
if (success) {
|
||||
await props.refreshActiveAlerts();
|
||||
showSuccess('Notifications activated! You'll now receive alerts when issues are detected.');
|
||||
showSuccess('Notifications activated! You\'ll now receive alerts when issues are detected.');
|
||||
if (props.onActivated) {
|
||||
await props.onActivated();
|
||||
}
|
||||
|
|
@ -249,7 +249,7 @@ export function ActivationModal(props: ActivationModalProps): JSX.Element {
|
|||
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">
|
||||
{violationCount() > 0
|
||||
? 'These alerts are currently active. When you activate, notifications will be sent to your configured channels.'
|
||||
: 'No alerts triggered yet. When you activate, you'll be notified immediately if any issues are detected.'}
|
||||
: 'No alerts triggered yet. When you activate, you\'ll be notified immediately if any issues are detected.'}
|
||||
</p>
|
||||
<Show
|
||||
when={violationCount() > 0}
|
||||
|
|
|
|||
Loading…
Reference in a new issue