emibcn / service-worker-updater

Found unnecessarily complex import statement JS-C1001
Anti-pattern
Minor
6 months ago6 months old
Useless path segments for "./PersistenceService/", should be "./PersistenceService"
  1import React, { useState, forwardRef, useEffect } from 'react'
  2import PersistenceService, {
  3  NullPersistenceService
  4} from './PersistenceService/'  5import updateSW from './updateSW'
  6
  7export interface ServiceWorkerUpdaterProps {