Skip to content

Commit 875aaab

Browse files
author
Pietro Passarelli
committed
bug fix
issue with import
1 parent de37634 commit 875aaab

File tree

2 files changed

+3
-3
lines changed
  • src
    • components
    • util/dpe-to-slate/generate-previous-timings-up-to-current

2 files changed

+3
-3
lines changed

src/components/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import subtitlesExportOptionsList from '../util/export-adapters/subtitles-genera
4141
import updateTimestamps from '../util/export-adapters/slate-to-dpe/update-timestamps';
4242
import exportAdapter from '../util/export-adapters';
4343
import isEmpty from '../util/is-empty';
44-
import generatePreviousTimingsUpToCurrent from '../util/generate-previous-timings-up-to-current';
44+
import generatePreviousTimingsUpToCurrent from '../util/dpe-to-slate/generate-previous-timings-up-to-current';
4545
const PLAYBACK_RATE_VALUES = [0.2, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 2.25, 2.5, 3, 3.5];
4646
const SEEK_BACK_SEC = 15;
4747
const PAUSE_WHILTE_TYPING_TIMEOUT_MILLISECONDS = 1500;

src/util/dpe-to-slate/generate-previous-timings-up-to-current/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { generatePreviousTimingsUpToCurrentOne } from '../dpe-to-slate';
1+
// import { generatePreviousTimingsUpToCurrentOne } from '../dpe-to-slate';
22

33
/**
44
* See explanation in `src/utils/dpe-to-slate/index.js` for how this function works with css injection
55
* to provide current paragaph's highlight.
66
* @param {Number} currentTime - float in seconds
77
*/
8-
import isEmpty from '../../util/is-empty';
8+
import isEmpty from '../../is-empty';
99
/**
1010
*
1111
* @param {*} currentTime

0 commit comments

Comments
 (0)