Ver a proveniência

Handle null value in createDeepLinkPath

bubble
Owen Conti há 7 anos
ascendente
cometimento
840912cb56
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/core/utils.js

+ 1
- 1
src/core/utils.js Ver ficheiro

@@ -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) )

Carregando…
Cancelar
Guardar