refactor: combine slug utils into one module
This commit is contained in:
committed by
mrugesh
parent
32ee2f032c
commit
9c2f1ffd82
@@ -24,7 +24,7 @@ import Hotkeys from '../components/Hotkeys';
|
||||
import { getGuideUrl } from '../utils';
|
||||
import { challengeTypes } from '../../../../utils/challengeTypes';
|
||||
import { ChallengeNode } from '../../../redux/propTypes';
|
||||
import { dasherize } from '../../../../utils';
|
||||
import { dasherize } from '../../../../../utils/slugs';
|
||||
import {
|
||||
createFiles,
|
||||
challengeFilesSelector,
|
||||
|
@@ -8,7 +8,7 @@ import { Button, Modal } from '@freecodecamp/react-bootstrap';
|
||||
import ga from '../../../analytics';
|
||||
import GreenPass from '../../../assets/icons/GreenPass';
|
||||
|
||||
import { dasherize } from '../../../../utils';
|
||||
import { dasherize } from '../../../../../utils/slugs';
|
||||
|
||||
import './completion-modal.css';
|
||||
|
||||
|
Reference in New Issue
Block a user