Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: zwwhdls <[email protected]>
  • Loading branch information
zwwhdls committed Nov 8, 2024
1 parent daf0aab commit 034c3a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dashboard-ui-v2/src/components/upgrade-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import { Button, Modal, Space } from 'antd'
import { useMountPodImage, useWebsocket } from '@/hooks/use-api'
import { FormattedMessage } from 'react-intl'

const upgradeHelpMessage = `Click Start to upgrade mount pod
const upgradeHelpMessage = `Click Start to upgrade Mount Pod
---
`

const binaryHelpMessage = `Click Start to upgrade binary in mount pod
const binaryHelpMessage = `Click Start to upgrade binary in Mount Pod
---
`
Expand Down Expand Up @@ -80,9 +80,9 @@ const UpgradeModal: React.FC<{
useEffect(() => {
if (isModalOpen) {
if (recreate) {
setData(`Smoothly upgrade mount pod to ${newImage}\n\n` + upgradeHelpMessage)
setData(`Smoothly upgrade Mount Pod to ${newImage}\n\n` + upgradeHelpMessage)
} else {
setData(`Smoothly upgrade mount pod to ${newImage}\n\n` + binaryHelpMessage)
setData(`Smoothly upgrade Mount Pod to ${newImage}\n\n` + binaryHelpMessage)
}
}
}, [recreate, isModalOpen, newImage])
Expand Down

0 comments on commit 034c3a5

Please sign in to comment.