chore(*): use prettier for formatting

This commit is contained in:
Cory Dransfeldt 2025-06-14 16:43:12 -07:00
parent 6c659fe1d0
commit ce869012ef
No known key found for this signature in database
73 changed files with 1393 additions and 794 deletions

View file

@ -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?:\/\//, '') : '');