소스 검색

Handle null value in createDeepLinkPath

bubble
Owen Conti 7 년 전
부모
커밋
840912cb56
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/core/utils.js

+ 1
- 1
src/core/utils.js 파일 보기

@@ -652,5 +652,5 @@ export const shallowEqualKeys = (a,b, keys) => {
})
}

export const createDeepLinkPath = (str) => str.replace(/\s/g, "_")
export const createDeepLinkPath = (str) => str ? str.replace(/\s/g, "_") : ""
export const escapeDeepLinkPath = (str) => cssEscape( createDeepLinkPath(str) )

불러오는 중...
취소
저장