remove "!" from global navbar site admin status messages (#58254)

The "!" is unnecessary and strikes the wrong tone.
This commit is contained in:
Quinn Slack 2023-11-09 21:52:12 -10:00 committed by GitHub
parent 2102bc825d
commit 8d4f86a9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,10 +216,10 @@ export const StatusMessagesNavItem: React.FunctionComponent<React.PropsWithChild
({ __typename: type }) => type === 'ExternalServiceSyncError' || type === 'SyncError'
)
) {
codeHostMessage = 'Syncing repositories failed!'
codeHostMessage = 'Syncing repositories failed'
iconProps = { as: CloudAlertIconRefresh }
} else if (data.statusMessages?.some(({ __typename: type }) => type === 'GitUpdatesDisabled')) {
codeHostMessage = 'Syncing repositories disabled!'
codeHostMessage = 'Syncing repositories disabled'
iconProps = { as: CloudAlertIconRefresh }
} else if (data.statusMessages?.some(({ __typename: type }) => type === 'CloningProgress')) {
codeHostMessage = 'Cloning repositories...'