diff --git a/front/src/modules/comments/components/CommentThreadCreateMode.tsx b/front/src/modules/comments/components/CommentThreadCreateMode.tsx index 35f87d1729e..4bd5d1c0135 100644 --- a/front/src/modules/comments/components/CommentThreadCreateMode.tsx +++ b/front/src/modules/comments/components/CommentThreadCreateMode.tsx @@ -1,5 +1,5 @@ import { BlockNoteEditor } from '@blocknote/core'; -import { BlockNoteView, useBlockNote } from '@blocknote/react'; +import { BlockNoteView } from '@blocknote/react'; import styled from '@emotion/styled'; import { PropertyBox } from '@/ui/components/property-box/PropertyBox'; @@ -54,7 +54,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; diff --git a/front/src/modules/comments/components/CommentThreadEditMode.tsx b/front/src/modules/comments/components/CommentThreadEditMode.tsx index d2b6c49c1e9..d8e80661d25 100644 --- a/front/src/modules/comments/components/CommentThreadEditMode.tsx +++ b/front/src/modules/comments/components/CommentThreadEditMode.tsx @@ -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; diff --git a/front/src/modules/comments/components/CommentThreadItem.tsx b/front/src/modules/comments/components/CommentThreadItem.tsx index a3c81ebba25..5f9b00d83fe 100644 --- a/front/src/modules/comments/components/CommentThreadItem.tsx +++ b/front/src/modules/comments/components/CommentThreadItem.tsx @@ -22,7 +22,7 @@ const StyledCommentBody = styled.div` color: ${({ theme }) => theme.font.color.secondary}; font-size: ${({ theme }) => theme.font.size.md}; - line-height: ${({ theme }) => theme.text.lineHeight}; + line-height: ${({ theme }) => theme.text.lineHeight.md}; overflow-wrap: anywhere; padding-left: 24px; diff --git a/front/src/modules/comments/components/CommentThreadRelationPicker.tsx b/front/src/modules/comments/components/CommentThreadRelationPicker.tsx index 269d6657992..3be3639ba41 100644 --- a/front/src/modules/comments/components/CommentThreadRelationPicker.tsx +++ b/front/src/modules/comments/components/CommentThreadRelationPicker.tsx @@ -1,5 +1,4 @@ import { useState } from 'react'; -import { useTheme } from '@emotion/react'; import styled from '@emotion/styled'; import { autoUpdate, @@ -9,7 +8,6 @@ import { useFloating, } from '@floating-ui/react'; -import { CommentThreadForDrawer } from '@/comments/types/CommentThreadForDrawer'; import CompanyChip from '@/companies/components/CompanyChip'; import { useHotkeysScopeOnBooleanState } from '@/hotkeys/hooks/useHotkeysScopeOnBooleanState'; import { useScopedHotkeys } from '@/hotkeys/hooks/useScopedHotkeys'; @@ -47,25 +45,6 @@ const StyledContainer = styled.div` width: 100%; `; -const StyledLabelContainer = styled.div` - align-items: center; - display: flex; - flex-direction: row; - - gap: ${({ theme }) => theme.spacing(2)}; - - padding-bottom: ${({ theme }) => theme.spacing(2)}; - padding-top: ${({ theme }) => theme.spacing(2)}; -`; - -const StyledRelationLabel = styled.div` - color: ${({ theme }) => theme.font.color.secondary}; - display: flex; - flex-direction: row; - - user-select: none; -`; - const StyledRelationContainer = styled.div` --horizontal-padding: ${({ theme }) => theme.spacing(1)}; --vertical-padding: ${({ theme }) => theme.spacing(1.5)}; @@ -108,8 +87,6 @@ export function CommentThreadRelationPicker({ isMenuOpen, ); - const theme = useTheme(); - const peopleIds = commentThread?.commentThreadTargets ?.filter((relation) => relation.commentableType === 'Person') @@ -134,6 +111,7 @@ export function CommentThreadRelationPicker({ ) { companyIds.push(commentable.id); } + return null; }); const personsForMultiSelect = useFilteredSearchEntityQuery({ diff --git a/front/src/modules/comments/components/CommentThreadTypeDropdown.tsx b/front/src/modules/comments/components/CommentThreadTypeDropdown.tsx index 81be99f5c2d..d9c5a72e8d2 100644 --- a/front/src/modules/comments/components/CommentThreadTypeDropdown.tsx +++ b/front/src/modules/comments/components/CommentThreadTypeDropdown.tsx @@ -2,7 +2,7 @@ import { DropdownButton, DropdownOptionType, } from '@/ui/components/buttons/DropdownButton'; -import { IconNotes, IconPhone } from '@/ui/icons/index'; +import { IconNotes } from '@/ui/icons/index'; export function CommentThreadTypeDropdown() { const options: DropdownOptionType[] = [ diff --git a/front/src/modules/comments/components/Comments.tsx b/front/src/modules/comments/components/Comments.tsx index 7021c994595..28288d23b29 100644 --- a/front/src/modules/comments/components/Comments.tsx +++ b/front/src/modules/comments/components/Comments.tsx @@ -4,13 +4,9 @@ import { useRecoilValue } from 'recoil'; import { v4 } from 'uuid'; import { currentUserState } from '@/auth/states/currentUserState'; -import { CommentThreadForDrawer } from '@/comments/types/CommentThreadForDrawer'; import { GET_COMPANIES } from '@/companies/services'; import { GET_PEOPLE } from '@/people/services'; import { AutosizeTextInput } from '@/ui/components/inputs/AutosizeTextInput'; -import { PropertyBox } from '@/ui/components/property-box/PropertyBox'; -import { PropertyBoxItem } from '@/ui/components/property-box/PropertyBoxItem'; -import { IconArrowUpRight } from '@/ui/icons/index'; import { logError } from '@/utils/logs/logError'; import { isDefined } from '@/utils/type-guards/isDefined'; import { isNonEmptyString } from '@/utils/type-guards/isNonEmptyString'; @@ -23,7 +19,6 @@ import { GET_COMMENT_THREADS_BY_TARGETS } from '../services'; import { CommentThreadActionBar } from './CommentThreadActionBar'; import { CommentThreadItem } from './CommentThreadItem'; -import { CommentThreadRelationPicker } from './CommentThreadRelationPicker'; type OwnProps = { commentThread: GetCommentThreadQuery['findManyCommentThreads'][0]; diff --git a/front/src/modules/comments/components/RightDrawerEditCommentThread.tsx b/front/src/modules/comments/components/RightDrawerEditCommentThread.tsx index 6f5ae2c6cfe..69f98482378 100644 --- a/front/src/modules/comments/components/RightDrawerEditCommentThread.tsx +++ b/front/src/modules/comments/components/RightDrawerEditCommentThread.tsx @@ -3,7 +3,6 @@ import { useRecoilValue } from 'recoil'; import { RightDrawerBody } from '@/ui/layout/right-drawer/components/RightDrawerBody'; import { RightDrawerPage } from '@/ui/layout/right-drawer/components/RightDrawerPage'; import { RightDrawerTopBar } from '@/ui/layout/right-drawer/components/RightDrawerTopBar'; -import { CommentableType } from '~/generated/graphql'; import { viewableCommentThreadIdState } from '../states/viewableCommentThreadIdState'; diff --git a/front/src/modules/comments/components/Timeline.tsx b/front/src/modules/comments/components/Timeline.tsx index 2c42b0f8062..e2db0762e79 100644 --- a/front/src/modules/comments/components/Timeline.tsx +++ b/front/src/modules/comments/components/Timeline.tsx @@ -4,7 +4,6 @@ import styled from '@emotion/styled'; import { TableActionBarButtonToggleComments } from '@/ui/components/table/action-bar/TableActionBarButtonOpenComments'; import { IconNotes, IconPlus } from '@/ui/icons/index'; -import { useOpenRightDrawer } from '@/ui/layout/right-drawer/hooks/useOpenRightDrawer'; import { beautifyExactDate, beautifyPastDateRelativeToNow, @@ -13,7 +12,6 @@ import { SortOrder, useGetCommentThreadsByTargetsQuery, } from '~/generated/graphql'; -import { TableActionBarButtonCreateCommentThreadCompany } from '~/pages/companies/table/TableActionBarButtonCreateCommentThreadCompany'; import { useOpenCommentThreadRightDrawer } from '../hooks/useOpenCommentThreadRightDrawer'; import { useOpenCreateCommentThreadDrawer } from '../hooks/useOpenCreateCommentThreadDrawer'; @@ -47,14 +45,14 @@ const StyledEmptyTimelineTitle = styled.div` color: ${({ theme }) => theme.font.color.secondary}; font-size: ${({ theme }) => theme.font.size.xxl}; font-weight: ${({ theme }) => theme.font.weight.semiBold}; - line-height: 120%; + line-height: ${({ theme }) => theme.text.lineHeight.md}; `; const StyledEmptyTimelineSubTitle = styled.div` color: ${({ theme }) => theme.font.color.extraLight}; font-size: ${({ theme }) => theme.font.size.xxl}; font-weight: ${({ theme }) => theme.font.weight.semiBold}; - line-height: 120%; + line-height: ${({ theme }) => theme.text.lineHeight.md}; `; const StyledTimelineItemContainer = styled.div` @@ -135,7 +133,7 @@ const StyledCard = styled.div` const StyledCardTitle = styled.div` color: ${({ theme }) => theme.font.color.primary}; font-weight: ${({ theme }) => theme.font.weight.medium}; - line-height: 150%; + line-height: ${({ theme }) => theme.text.lineHeight.lg}; `; const StyledCardContent = styled.div` diff --git a/front/src/modules/comments/hooks/useHandleCheckableCommentThreadTargetChange.ts b/front/src/modules/comments/hooks/useHandleCheckableCommentThreadTargetChange.ts index c7ceec24ce0..509f5db0e98 100644 --- a/front/src/modules/comments/hooks/useHandleCheckableCommentThreadTargetChange.ts +++ b/front/src/modules/comments/hooks/useHandleCheckableCommentThreadTargetChange.ts @@ -11,7 +11,6 @@ import { import { GET_COMMENT_THREADS_BY_TARGETS } from '../services'; import { CommentableEntityForSelect } from '../types/CommentableEntityForSelect'; -import { CommentThreadForDrawer } from '../types/CommentThreadForDrawer'; export function useHandleCheckableCommentThreadTargetChange({ commentThread, diff --git a/front/src/modules/comments/hooks/useOpenCommentThreadRightDrawer.ts b/front/src/modules/comments/hooks/useOpenCommentThreadRightDrawer.ts index e6c7faa5280..586240de07c 100644 --- a/front/src/modules/comments/hooks/useOpenCommentThreadRightDrawer.ts +++ b/front/src/modules/comments/hooks/useOpenCommentThreadRightDrawer.ts @@ -1,9 +1,7 @@ import { useRecoilState } from 'recoil'; import { useOpenRightDrawer } from '../../ui/layout/right-drawer/hooks/useOpenRightDrawer'; -import { commentableEntityArrayState } from '../states/commentableEntityArrayState'; import { viewableCommentThreadIdState } from '../states/viewableCommentThreadIdState'; -import { CommentableEntity } from '../types/CommentableEntity'; export function useOpenCommentThreadRightDrawer() { const openRightDrawer = useOpenRightDrawer(); diff --git a/front/src/modules/ui/components/buttons/DropdownButton.tsx b/front/src/modules/ui/components/buttons/DropdownButton.tsx index 6aca82f3e64..dad76d90f6b 100644 --- a/front/src/modules/ui/components/buttons/DropdownButton.tsx +++ b/front/src/modules/ui/components/buttons/DropdownButton.tsx @@ -26,7 +26,7 @@ const StyledButton = styled.button` font-weight: ${({ theme }) => theme.font.weight.medium}; gap: 8px; height: 24px; - line-height: 150%; + line-height: ${({ theme }) => theme.text.lineHeight.lg}; padding: 3px 8px; svg { diff --git a/front/src/modules/ui/components/property-box/PropertyBox.tsx b/front/src/modules/ui/components/property-box/PropertyBox.tsx index a0e975c987d..2e15d6fec7f 100644 --- a/front/src/modules/ui/components/property-box/PropertyBox.tsx +++ b/front/src/modules/ui/components/property-box/PropertyBox.tsx @@ -8,7 +8,9 @@ const StyledCompanyPropertyBox = styled.div` gap: 8px; `; -const StyledCompanyPropertyBoxContainer = styled.div` +const StyledCompanyPropertyBoxContainer = styled.div<{ + extraPadding?: boolean; +}>` align-items: flex-start; align-self: stretch; background: ${({ theme }) => theme.background.secondary}; @@ -18,9 +20,18 @@ const StyledCompanyPropertyBoxContainer = styled.div` flex-direction: column; gap: 2px; padding: 4px 12px; + padding: ${({ extraPadding }) => (extraPadding ? '4px 24px' : '4px 12px')}; `; -export function PropertyBox({ children }: { children: JSX.Element }) { +interface PropertyBoxProps { + children: JSX.Element; + extraPadding?: boolean; +} + +export function PropertyBox({ + children, + extraPadding = false, +}: PropertyBoxProps) { return ( diff --git a/front/src/modules/ui/components/section-titles/MainSectionTitle.tsx b/front/src/modules/ui/components/section-titles/MainSectionTitle.tsx index c0dc5e24cf3..a8f5be84117 100644 --- a/front/src/modules/ui/components/section-titles/MainSectionTitle.tsx +++ b/front/src/modules/ui/components/section-titles/MainSectionTitle.tsx @@ -9,7 +9,7 @@ const StyledMainSectionTitle = styled.h2` color: ${({ theme }) => theme.font.color.primary}; font-size: ${({ theme }) => theme.font.size.xl}; font-weight: ${({ theme }) => theme.font.weight.semiBold}; - line-height: 1.5; + line-height: ${({ theme }) => theme.text.lineHeight.lg}; margin: 0; `; diff --git a/front/src/modules/ui/layout/show-pages/ShowPageLayout.tsx b/front/src/modules/ui/layout/show-pages/ShowPageLayout.tsx new file mode 100644 index 00000000000..fd65984fa25 --- /dev/null +++ b/front/src/modules/ui/layout/show-pages/ShowPageLayout.tsx @@ -0,0 +1,68 @@ +import { useParams } from 'react-router-dom'; +import { useTheme } from '@emotion/react'; +import styled from '@emotion/styled'; + +import { useCompanyQuery } from '@/companies/services'; +import { IconBuildingSkyscraper } from '@/ui/icons/index'; +import { WithTopBarContainer } from '@/ui/layout/containers/WithTopBarContainer'; + +const StyledCompanyContainer = styled.div` + align-items: center; + align-self: stretch; + background: ${({ theme }) => theme.background.primary}; + border: 1px solid ${({ theme }) => theme.border.color.medium}; + border-radius: 8px; + display: flex; + flex: 1 0 0; +`; + +const StyledLeftPanelContainer = styled.div` + align-items: flex-start; + align-self: stretch; + background: ${({ theme }) => theme.background.secondary}; + border-radius: 8px; + border-right: 1px solid ${({ theme }) => theme.border.color.light}; + padding: 0px ${({ theme }) => theme.spacing(3)}; + width: 320px; +`; + +const StyledRightPanelContainer = styled.div` + align-items: flex-start; + align-self: stretch; + display: flex; + flex: 1 0 0; + flex-direction: column; + justify-content: center; + overflow: hidden; +`; + +export function ShowPageLayout({ + leftSide, + rightSide, + title, + icon, +}: { + leftSide: JSX.Element; + rightSide: JSX.Element; + title: string; + icon: JSX.Element; +}) { + const companyId = useParams().companyId ?? ''; + + const { data } = useCompanyQuery(companyId); + const company = data?.findUniqueCompany; + + const theme = useTheme(); + + return ( + } + > + + {leftSide} + {rightSide} + + + ); +} diff --git a/front/src/modules/ui/layout/show-pages/ShowPageTopLeftContainer.tsx b/front/src/modules/ui/layout/show-pages/ShowPageTopLeftContainer.tsx new file mode 100644 index 00000000000..b5bde13b2c5 --- /dev/null +++ b/front/src/modules/ui/layout/show-pages/ShowPageTopLeftContainer.tsx @@ -0,0 +1,101 @@ +import { Tooltip } from 'react-tooltip'; +import styled from '@emotion/styled'; + +import { + beautifyExactDate, + beautifyPastDateRelativeToNow, +} from '@/utils/datetime/date-utils'; + +const StyledShowTopLeftImageContainer = styled.div` + align-items: center; + align-self: stretch; + display: flex; + flex-direction: column; + gap: 8px; + justify-content: center; + padding: ${({ theme }) => theme.spacing(6)} ${({ theme }) => theme.spacing(3)} + ${({ theme }) => theme.spacing(3)} ${({ theme }) => theme.spacing(3)}; +`; + +const StyledShowTopLeftImageInsideContainer = styled.div` + align-items: center; + display: flex; + flex-direction: column; + gap: 12px; + + img { + border-radius: 4px; + height: 40px; + width: 40px; + } + + div { + align-items: center; + display: flex; + flex-direction: column; + gap: 4px; + } +`; + +const StyledDate = styled.div` + color: ${({ theme }) => theme.font.color.tertiary}; +`; + +const StyledTitle = styled.div` + color: ${({ theme }) => theme.font.color.primary}; + font-size: ${({ theme }) => theme.font.size.xl}; + font-style: normal; + font-weight: ${({ theme }) => theme.font.weight.semiBold}; + line-height: ${({ theme }) => theme.text.lineHeight.md}; +`; + +const StyledTooltip = styled(Tooltip)` + background-color: ${({ theme }) => theme.background.primary}; + + box-shadow: 0px 2px 4px 3px + ${({ theme }) => theme.background.transparent.light}; + + box-shadow: 2px 4px 16px 6px + ${({ theme }) => theme.background.transparent.light}; + + color: ${({ theme }) => theme.font.color.primary}; + + opacity: 1; + padding: 8px; +`; + +export function ShowPageTopLeftContainer({ + logoOrAvatar, + title, + date, +}: { + logoOrAvatar: string; + title: string; + date: string; +}) { + if (!date) { + return null; + } + const beautifiedCreatedAt = beautifyPastDateRelativeToNow(date); + const exactCreatedAt = beautifyExactDate(date); + + return ( + + + Logo or Avatar +
+ {title} + + Added {beautifiedCreatedAt} ago + + +
+
+
+ ); +} diff --git a/front/src/pages/companies/CompanyShow.tsx b/front/src/pages/companies/CompanyShow.tsx index b4def06445f..1ef26d4ecf0 100644 --- a/front/src/pages/companies/CompanyShow.tsx +++ b/front/src/pages/companies/CompanyShow.tsx @@ -1,55 +1,16 @@ import { useParams } from 'react-router-dom'; -import { Tooltip } from 'react-tooltip'; import { useTheme } from '@emotion/react'; -import styled from '@emotion/styled'; import { Timeline } from '@/comments/components/Timeline'; import { useCompanyQuery } from '@/companies/services'; import { PropertyBox } from '@/ui/components/property-box/PropertyBox'; import { PropertyBoxItem } from '@/ui/components/property-box/PropertyBoxItem'; import { IconBuildingSkyscraper, IconLink, IconMap } from '@/ui/icons/index'; -import { WithTopBarContainer } from '@/ui/layout/containers/WithTopBarContainer'; -import { - beautifyExactDate, - beautifyPastDateRelativeToNow, -} from '@/utils/datetime/date-utils'; +import { ShowPageLayout } from '@/ui/layout/show-pages/ShowPageLayout'; +import { ShowPageTopLeftContainer } from '@/ui/layout/show-pages/ShowPageTopLeftContainer'; import { getLogoUrlFromDomainName } from '@/utils/utils'; import { CommentableType } from '~/generated/graphql'; -const StyledCompanyContainer = styled.div` - align-items: center; - align-self: stretch; - background: ${({ theme }) => theme.background.primary}; - border: 1px solid ${({ theme }) => theme.border.color.medium}; - border-radius: 8px; - display: flex; - flex: 1 0 0; -`; - -const StyledLeftPanelContainer = styled.div` - align-items: flex-start; - align-self: stretch; - background: ${({ theme }) => theme.background.secondary}; - border-radius: 8px; - border-right: 1px solid ${({ theme }) => theme.border.color.light}; - padding: 0px ${({ theme }) => theme.spacing(3)}; - width: 320px; -`; - -const StyledRightPanelContainer = styled.div` - align-items: flex-start; - align-self: stretch; - display: flex; - flex: 1 0 0; - flex-direction: column; - justify-content: center; - overflow: hidden; -`; - -const StyledPropertyBoxContainer = styled.div` - padding: 0px 12px; -`; - export function CompanyShow() { const companyId = useParams().companyId ?? ''; @@ -59,147 +20,38 @@ export function CompanyShow() { const theme = useTheme(); return ( - } - > - - - + - - - <> - } - value={company?.domainName ?? ''} - link={ - company?.domainName ? 'https://' + company?.domainName : '' - } - /> - } - value={company?.address ? company?.address : 'No address'} - /> - - - - - - - - - + + <> + } + value={company?.domainName ?? ''} + link={ + company?.domainName ? 'https://' + company?.domainName : '' + } + /> + } + value={company?.address ? company?.address : 'No address'} + /> + + + + } + rightSide={ + + } + /> ); } - -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// - -const StyledShowTopLeftImageContainer = styled.div` - align-items: center; - align-self: stretch; - display: flex; - flex-direction: column; - gap: 8px; - justify-content: center; - padding: ${({ theme }) => theme.spacing(6)} ${({ theme }) => theme.spacing(3)} - ${({ theme }) => theme.spacing(3)} ${({ theme }) => theme.spacing(3)}; -`; - -const StyledShowTopLeftImageInsideContainer = styled.div` - align-items: center; - display: flex; - flex-direction: column; - gap: 12px; - - img { - border-radius: 4px; - height: 40px; - width: 40px; - } - - div { - align-items: center; - display: flex; - flex-direction: column; - gap: 4px; - } -`; - -const StyledDate = styled.div` - color: ${({ theme }) => theme.font.color.tertiary}; -`; - -const StyledTitle = styled.div` - color: ${({ theme }) => theme.font.color.primary}; - font-size: ${({ theme }) => theme.font.size.xl}; - font-style: normal; - font-weight: ${({ theme }) => theme.font.weight.semiBold}; - line-height: 120%; -`; - -const StyledTooltip = styled(Tooltip)` - background-color: ${({ theme }) => theme.background.primary}; - - box-shadow: 0px 2px 4px 3px - ${({ theme }) => theme.background.transparent.light}; - - box-shadow: 2px 4px 16px 6px - ${({ theme }) => theme.background.transparent.light}; - - color: ${({ theme }) => theme.font.color.primary}; - - opacity: 1; - padding: 8px; -`; - -export function TopLeftHeaderOnShowPage({ - logo, - title, - date, -}: { - logo: string; - title: string; - date: string; -}) { - if (!date) { - return null; - } - const beautifiedCreatedAt = beautifyPastDateRelativeToNow(date); - const exactCreatedAt = beautifyExactDate(date); - - return ( - - - Logo or Avatar -
- {title} - - Added {beautifiedCreatedAt} ago - - -
-
-
- ); -} - -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////// diff --git a/server/src/core/auth/auth.resolver.ts b/server/src/core/auth/auth.resolver.ts index d84dde440ba..d4eea4f4663 100644 --- a/server/src/core/auth/auth.resolver.ts +++ b/server/src/core/auth/auth.resolver.ts @@ -1,4 +1,4 @@ -import { Args, Mutation, Resolver, Query } from '@nestjs/graphql'; +import { Args, Mutation, Resolver } from '@nestjs/graphql'; import { AuthTokens } from './dto/token.entity'; import { TokenService } from './services/token.service'; import { RefreshTokenInput } from './dto/refresh-token.input';