Skip to content

Commit

Permalink
Merge pull request #150 from DNO-inc/feature#105
Browse files Browse the repository at this point in the history
 Fix problem with build
  • Loading branch information
yaroslavUsenko authored Dec 17, 2024
2 parents b00d4a7 + 1374a32 commit 1c1d830
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "vite build",
"preview": "tsc && vite build && vite preview",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ import useMediaQuery from '@mui/material/useMediaQuery'
import FilterAltIcon from '@mui/icons-material/FilterAlt'

import { VerticalDivider } from 'components/VerticalDivider'
import { CustomCheckbox } from './components/CustomCheckbox'

import { dimensions, urlKeys } from 'constants/index'
import { useChangeURL } from 'hooks/index'
import IPalette from 'theme/IPalette.interface'
import { CustomCheckbox } from './components/CustomCheckbox'
import { useGetStatusesFullInfo } from './hooks/useGetStatusesFullInfo'

interface StatusCheckboxGroupProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ChangeEvent } from 'react'
import { useSearchParams } from 'react-router-dom'

import useTheme from '@mui/material/styles/useTheme'

import { statuses, urlKeys } from 'constants/index'
import { useChangeURL } from 'hooks/index'
import IPalette from 'theme/IPalette.interface'
Expand Down
24 changes: 12 additions & 12 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export { endpoints } from "./endpoints";
export { dimensions } from "./dimensions";
export { general } from "./general";
export { roles } from "./roles";
export { permissions } from "./permissions";
export { storage } from "./storage";
export { urlKeys } from "./urlKeys";
export { statuses } from "./statuses";
export { createFormKeys } from "./createFormKeys";
export { toggleOptions } from "./toggleOptions";
export { profileFormKeys } from "./profileFormKeys";
export { scopes } from "./scopes";
export { createFormKeys } from './createFormKeys'
export { dimensions } from './dimensions'
export { endpoints } from './endpoints.ts'
export { general } from './general'
export { permissions } from './permissions'
export { profileFormKeys } from './profileFormKeys'
export { roles } from './roles'
export { scopes } from './scopes'
export { statuses } from './statuses'
export { storage } from './storage'
export { toggleOptions } from './toggleOptions'
export { urlKeys } from './urlKeys'
2 changes: 1 addition & 1 deletion src/pages/FullTicketInfo/hooks/useCommentsConnection.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react'

import { endpoints } from 'constants'
import { endpoints } from 'constants/endpoints'
import { useAuth } from 'context/AuthContext/AuthContext'
import { getAccessToken } from 'functions/manipulateLocalStorage'
import { IAction } from '../components/FullTicketComments/components/Action/Action'
Expand Down

0 comments on commit 1c1d830

Please sign in to comment.