diff --git a/frontend/src/components/Pages/FrontPage/MissionOverview/ScheduleMissionDialog/NoMissionsDialog.tsx b/frontend/src/components/Pages/FrontPage/MissionOverview/ScheduleMissionDialog/NoMissionsDialog.tsx index 0a8040c2..b26cc622 100644 --- a/frontend/src/components/Pages/FrontPage/MissionOverview/ScheduleMissionDialog/NoMissionsDialog.tsx +++ b/frontend/src/components/Pages/FrontPage/MissionOverview/ScheduleMissionDialog/NoMissionsDialog.tsx @@ -3,11 +3,6 @@ import styled from 'styled-components' import { useLanguageContext } from 'components/Contexts/LanguageContext' import { StyledDialog } from 'components/Styles/StyledComponents' -const StyledButton = styled(Button)` - display: flex; - justify-content: end; -` - export const NoMissionsDialog = ({ closeDialog }: { closeDialog: () => void }): JSX.Element => { const { TranslateText } = useLanguageContext() return ( @@ -20,9 +15,11 @@ export const NoMissionsDialog = ({ closeDialog }: { closeDialog: () => void }): {TranslateText('This installation does not have missions. Please create mission.')} - - {TranslateText('Cancel')} - + + + ) } diff --git a/frontend/src/components/Pages/RobotPage/RobotArmMovement.tsx b/frontend/src/components/Pages/RobotPage/RobotArmMovement.tsx index c4888a94..f80a1aeb 100644 --- a/frontend/src/components/Pages/RobotPage/RobotArmMovement.tsx +++ b/frontend/src/components/Pages/RobotPage/RobotArmMovement.tsx @@ -95,9 +95,9 @@ export const MoveRobotArm = ({ robot, armPosition, isRobotAvailable }: RobotProp {feedback} - + - + )