Squashed commit of the following:
commit5d38a76997Merge:7cccdb9f160e23Author: Blake <blakejoy@users.noreply.github.com> Date: Sat Apr 15 11:44:39 2023 -0400 Merge pull request #22 from blakejoy/feat/add_linting feat - add linting and prettier commitf160e2362cAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Sat Apr 15 11:44:00 2023 -0400 add pre commit hook commit0fd8317884Merge:bc91674d1e87baAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Sat Apr 15 11:41:28 2023 -0400 add husky commitbc91674c4bAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Sat Apr 15 11:39:24 2023 -0400 add husky commitd1e87ba7beAuthor: Blake <blakejoy@users.noreply.github.com> Date: Fri Apr 14 08:48:33 2023 -0400 Update .prettierrc commitd064d4d86fAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Fri Apr 14 03:09:39 2023 -0400 turn off linebreak rules commit06155bd323Author: Blake Joynes <blakejoynes@gmail.com> Date: Thu Apr 13 21:58:41 2023 -0400 add linting and prettier
This commit is contained in:
@@ -8,7 +8,12 @@
|
||||
* @param {string} imagePath raw image path
|
||||
* @param {boolean} svg get svg version if true
|
||||
*/
|
||||
export const getFullImagePath = (baseUrl: string, fileSize: string, imagePath: string, svg = false): string => {
|
||||
export const getFullImagePath = (
|
||||
baseUrl: string,
|
||||
fileSize: string,
|
||||
imagePath: string,
|
||||
svg = false
|
||||
): string => {
|
||||
const imagePathArr = imagePath.split('.');
|
||||
const imageFormat = svg ? 'svg' : imagePathArr[1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user