Skip to content

Commit

Permalink
refactor: fix remaining imports
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed Mar 13, 2024
1 parent b310438 commit 0e4f4e7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/dm-core-plugins/src/pdf/PDFViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import {
ErrorResponse,
Loading,
TGenericObject,
formatBytes,
useApplication,
} from '@development-framework/dm-core'
import { AxiosError } from 'axios'
import { useEffect, useState } from 'react'
import styled from 'styled-components'
import { formatBytes } from '../utils'

export const ErrorGroup = styled.div`
display: flex;
Expand Down
7 changes: 3 additions & 4 deletions packages/dm-core-plugins/src/table/Table/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ import {
IUIPlugin,
TGenericObject,
TInlineRecipeViewConfig,
TItem,
TOnOpen,
TReferenceViewConfig,
TSortableItem,
TTemplate,
TViewConfig,
} from '../../'
import { TItem } from '../../hooks/useList/types'
} from '@development-framework/dm-core'
import { TSortableItem, TTemplate } from '../../common'

// Table Config types

Expand Down
3 changes: 1 addition & 2 deletions packages/dm-core-plugins/src/table/Table/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { TGenericObject, TItem } from '@development-framework/dm-core'
import { isObject } from 'lodash'
import { TGenericObject } from '../..'
import { TItem } from '../../hooks/useList/types'
import {
TTableConfig,
TTableFunctionalityConfig,
Expand Down
2 changes: 1 addition & 1 deletion packages/dm-core-plugins/src/table/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TTableConfig } from '@development-framework/dm-core'
import { TTableConfig } from './Table/types'

const defaultConfig: TTableConfig = {
columns: [{ data: 'name', label: 'Name' }, { data: 'type' }],
Expand Down
1 change: 0 additions & 1 deletion packages/dm-core/src/components/Pickers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ export * from './DestinationPicker'
export * from './EntityPickerDialog'
export * from './EntityPickerDropdown'
export * from './JobHandlerPicker'
export * from './Datepicker'

0 comments on commit 0e4f4e7

Please sign in to comment.