Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed May 15, 2024
1 parent 4dc90f2 commit 638b5ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/next-drupal/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export * from './theme/App/App'
export * from './theme/BackToTop/BackToTop'
export * from './theme/Layout/DefaultLayout'
// Utils
export * from './utils/BodyClassname/BodyClassname'
export * from './utils/Form/Field'
// Widgets
export * from './utils/Widgets/ActionWidget'
Expand Down
2 changes: 1 addition & 1 deletion packages/next-drupal/src/hof/withDrupalNodeResources.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// HOF for adding common resources to the component by wrapping getServersideProps or getStaticProps
// e.g. export const getServerSideProps = withDrupalNodeResources(null)

import { getDrupalResourceFromContext } from '../lib/content'
import { getDrupalResourceFromContext } from '@edw/next-drupal/lib/drupal/content'

const withDrupalNodeResources = (...fns: any) => {
const getProps = fns[0]
Expand Down
2 changes: 1 addition & 1 deletion packages/next-drupal/src/molecules/PDFViewer/PDFViewer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Viewer, Worker } from '@react-pdf-viewer/core'
import { defaultLayoutPlugin } from '@react-pdf-viewer/default-layout'

import packageJson from '@edw/next-drupal/package.json'
import packageJson from '../../../package.json'

const pdfjsVersion = packageJson.dependencies['pdfjs-dist'].replace(/[~^]/g, '')

Expand Down

0 comments on commit 638b5ed

Please sign in to comment.