Skip to content

Commit

Permalink
beauty
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonakhov committed Oct 3, 2024
1 parent 798e057 commit 48f2c53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/ComplexDistance/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { Button, Dimmer, Icon, Input, Label, Loader, Message, Segment } from "se
import { gql, useMutation } from "@apollo/client";
import React, { useContext, useState, useEffect } from "react";

import "./style.scss";

import TranslationContext from "Layout/TranslationContext";

const complexDistanceMutation = gql`
Expand Down Expand Up @@ -62,8 +64,6 @@ const ComplexDistance = connect(state => state.user)(({user}) => {
}
}

const fail = !data || !data.complex_distance.triumph;

return (
<div className="background-content">
{(user.id === undefined) && !loading ? (
Expand All @@ -86,7 +86,7 @@ const ComplexDistance = connect(state => state.user)(({user}) => {
</span>

{ fileSuite && fileSuite.map(({ name: fileName }) => (
<Label style={{ marginLeft: "0.5em" }}>
<Label style={{ margin: "0.5em" }}>
<Icon name="file outline" />
{ fileName }
</Label>
Expand Down
3 changes: 3 additions & 0 deletions src/pages/ComplexDistance/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pre {
white-space: pre-wrap;
}

0 comments on commit 48f2c53

Please sign in to comment.