Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Nov 23, 2023
1 parent b33e83d commit 1ad7bc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/layout/CarouselLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export function CarouselLayout({ tracks, orientation, ...props }: CarouselLayout
const carouselOrientation = orientation
? orientation
: height >= width
? 'vertical'
: 'horizontal';
? 'vertical'
: 'horizontal';

const tileSpan =
carouselOrientation === 'vertical'
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/hooks/useTracks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export type UseTracksOptions = {
export type UseTracksHookReturnType<T> = T extends Track.Source[]
? TrackReference[]
: T extends TrackSourceWithOptions[]
? TrackReferenceOrPlaceholder[]
: never;
? TrackReferenceOrPlaceholder[]
: never;

/**
* The `useTracks` hook returns an array of `TrackReference` or `TrackReferenceOrPlaceholder` depending on the provided `sources` property.
Expand Down

0 comments on commit 1ad7bc6

Please sign in to comment.