Skip to content

Commit

Permalink
remove unnecessary 'use strict' directives (#4943)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Feb 21, 2024
1 parent d7e577a commit 89a2fc5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions packages/@uppy/companion-client/src/RequestClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import UserFacingApiError from '@uppy/utils/lib/UserFacingApiError'
// eslint-disable-next-line import/no-extraneous-dependencies
import pRetry, { AbortError } from 'p-retry'
Expand Down
2 changes: 0 additions & 2 deletions packages/@uppy/companion-client/src/SearchProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import type { Body, Meta } from '@uppy/utils/lib/UppyFile.ts'
import type { Uppy } from '@uppy/core'
import type { CompanionClientSearchProvider } from '@uppy/utils/lib/CompanionClientProvider'
Expand Down
2 changes: 0 additions & 2 deletions packages/@uppy/companion-client/src/tokenStorage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

/**
* This module serves as an Async wrapper for LocalStorage
*/
Expand Down
2 changes: 0 additions & 2 deletions packages/@uppy/react/src/nonHtmlPropsHaveChanged.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

export default function nonHtmlPropsHaveChanged (props, prevProps) {
return Object.keys(props).some(key => !Object.hasOwn(props, key) && props[key] !== prevProps[key])
}

0 comments on commit 89a2fc5

Please sign in to comment.