run prettier formatting on all files

This commit is contained in:
Amruth Pillai
2023-07-13 08:54:37 +02:00
parent 984078db76
commit 161ca0ee28
37 changed files with 166 additions and 1047 deletions

View File

@ -1,8 +1,8 @@
import { ListItem, Location, PhotoFilters } from 'schema';
import clsx from 'clsx';
import get from 'lodash/get';
import isArray from 'lodash/isArray';
import isEmpty from 'lodash/isEmpty';
import { ListItem, Location, PhotoFilters } from 'schema';
export type Required<T, K extends keyof T> = T & { [P in K]-?: T[P] };
@ -55,7 +55,7 @@ export const parseListItemPath = (item: ListItem, path: string | string[], separ
export const getPhotoClassNames = (filters: PhotoFilters) =>
clsx({
'object-cover': true,
'object-cover aspect-square': true,
grayscale: filters.grayscale,
'!border-[4px] !border-solid': filters.border,
'rounded-lg': filters.shape === 'rounded-square',