Skip to content

Commit

Permalink
Use function from UIBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed May 9, 2024
1 parent 89880cd commit 19cea9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import $ from 'jquery';
import { sanitizeInput } from './sylius-sanitizer';
import { sanitizeInput } from 'sylius/ui/sylius-sanitizer';

const getProvinceInputValue = function getProvinceInputValue(valueSelector) {
return valueSelector == undefined ? '' : `value="${sanitizeInput(valueSelector)}"`;
Expand Down

0 comments on commit 19cea9a

Please sign in to comment.