Split company show into ui/business + fix eslint

This commit is contained in:
Félix Malfait
2023-07-08 14:18:18 +02:00
parent 43fae8b638
commit c6a3c211e4
17 changed files with 225 additions and 229 deletions
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { BlockNoteEditor, PartialBlock } from '@blocknote/core';
import { BlockNoteEditor } from '@blocknote/core';
import { BlockNoteView, useBlockNote } from '@blocknote/react';
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
@@ -9,9 +9,6 @@ import { PropertyBoxItem } from '@/ui/components/property-box/PropertyBoxItem';
import { IconArrowUpRight } from '@/ui/icons/index';
import { useGetCommentThreadQuery } from '~/generated/graphql';
import { CommentableEntity } from '../types/CommentableEntity';
import { CommentThreadForDrawer } from '../types/CommentThreadForDrawer';
import { Comments } from './Comments';
import { CommentThreadRelationPicker } from './CommentThreadRelationPicker';
import { CommentThreadTypeDropdown } from './CommentThreadTypeDropdown';
@@ -59,7 +56,7 @@ const StyledEditableTitleInput = styled.input`
font-weight: ${({ theme }) => theme.font.weight.semiBold};
justify-content: center;
line-height: 120%;
line-height: ${({ theme }) => theme.text.lineHeight.md};
outline: none;
width: 318px;