chore(*): use prettier for formatting
This commit is contained in:
parent
6c659fe1d0
commit
ce869012ef
73 changed files with 1393 additions and 794 deletions
|
@ -6,6 +6,6 @@ export const sanitizeMediaString = (input) => {
|
|||
const slugified = cleaned.replace(/[\s-]+/g, '-').toLowerCase();
|
||||
|
||||
return slugified.replace(/^-+|-+$/g, '');
|
||||
}
|
||||
};
|
||||
|
||||
export const removeUrlProtocol = (url) => url ? url.replace(/^https?:\/\//, '') : '';
|
||||
export const removeUrlProtocol = (url) => (url ? url.replace(/^https?:\/\//, '') : '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue