diff --git a/resources/scripts/components/dashboard/ServerRow.tsx b/resources/scripts/components/dashboard/ServerRow.tsx index 8a4c8a2c8..54c5854be 100644 --- a/resources/scripts/components/dashboard/ServerRow.tsx +++ b/resources/scripts/components/dashboard/ServerRow.tsx @@ -38,8 +38,8 @@ const StatusIndicatorBox = styled(GreyRowBox)<{ !$status || $status === 'offline' ? tw`bg-red-500` : $status === 'running' - ? tw`bg-green-500` - : tw`bg-yellow-500`}; + ? tw`bg-green-500` + : tw`bg-yellow-500`}; } &:hover .status-bar { @@ -119,10 +119,10 @@ export default ({ server, className }: { server: Server; className?: string }) = {server.isTransferring ? 'Transferindo' : server.status === 'installing' - ? 'Instalando' - : server.status === 'restoring_backup' - ? 'Restaurando Backup' - : 'Não Válido'} + ? 'Instalando' + : server.status === 'restoring_backup' + ? 'Restaurando Backup' + : 'Não Válido'} ) : ( diff --git a/resources/scripts/components/elements/Spinner.tsx b/resources/scripts/components/elements/Spinner.tsx index ce6f21463..68b2c35ca 100644 --- a/resources/scripts/components/elements/Spinner.tsx +++ b/resources/scripts/components/elements/Spinner.tsx @@ -31,11 +31,11 @@ const SpinnerComponent = styled.div` props.size === 'small' ? tw`w-4 h-4 border-2` : props.size === 'large' - ? css` - ${tw`w-16 h-16`}; - border-width: 6px; - ` - : null}; + ? css` + ${tw`w-16 h-16`}; + border-width: 6px; + ` + : null}; border-color: ${(props) => (!props.isBlue ? 'rgba(255, 255, 255, 0.2)' : 'hsla(212, 92%, 43%, 0.2)')}; border-top-color: ${(props) => (!props.isBlue ? 'rgb(255, 255, 255)' : 'hsl(212, 92%, 43%)')}; diff --git a/resources/scripts/components/elements/transitions/FadeTransition.tsx b/resources/scripts/components/elements/transitions/FadeTransition.tsx index e4287cc18..99de95373 100644 --- a/resources/scripts/components/elements/transitions/FadeTransition.tsx +++ b/resources/scripts/components/elements/transitions/FadeTransition.tsx @@ -14,8 +14,8 @@ export default ({ children, duration, ...props }: Props) => { const [enterDuration, exitDuration] = Array.isArray(duration) ? duration : !duration - ? ['duration-200', 'duration-100'] - : [duration, duration]; + ? ['duration-200', 'duration-100'] + : [duration, duration]; return ( { {isNodeUnderMaintenance ? 'O Node deste servidor está atualmente em manutenção e todas as ações não estão disponíveis.' : isInstalling - ? 'Atualmente, este servidor está executando seu processo de instalação e a maioria das ações não está disponível.' - : 'Atualmente, este servidor está sendo transferido para outro Node e todas as ações não estão disponíveis.'} + ? 'Atualmente, este servidor está executando seu processo de instalação e a maioria das ações não está disponível.' + : 'Atualmente, este servidor está sendo transferido para outro Node e todas as ações não estão disponíveis.'} )}
diff --git a/resources/scripts/components/tickets/ViewContainer.tsx b/resources/scripts/components/tickets/ViewContainer.tsx index a02f3a77e..f11ae3f48 100644 --- a/resources/scripts/components/tickets/ViewContainer.tsx +++ b/resources/scripts/components/tickets/ViewContainer.tsx @@ -64,12 +64,12 @@ export default () => { ticket.status === 'pendente' ? 'info' : ticket.status === 'em-andamento' - ? 'info' - : ticket.status === 'não-resolvido' - ? 'danger' - : ticket.status === 'resolvido' - ? 'success' - : 'warning' + ? 'info' + : ticket.status === 'não-resolvido' + ? 'danger' + : ticket.status === 'resolvido' + ? 'success' + : 'warning' } className={'my-4 w-full'} >