Skip to content

Commit

Permalink
prettier --write .
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Dec 20, 2024
1 parent eb9c399 commit 9a3de14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/grid/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export function Grid<

const Slot: FC<SlotProps<TileModel>> = useMemo(
() =>
(function Slot({ id, model, onDrag, style, className, ...props }) {
function Slot({ id, model, onDrag, style, className, ...props }) {
const ref = useRef<HTMLDivElement | null>(null);

useEffect(() => {
Expand All @@ -289,7 +289,7 @@ export function Grid<
{...props}
/>
);
}),
},
[tiles],
);

Expand Down
2 changes: 1 addition & 1 deletion src/state/CallViewModel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function withCallViewModel(
.mockImplementation((p, ...eventTypes) => {
if (eventTypes.includes(ParticipantEvent.IsSpeakingChanged)) {
return (speaking.get(p) ?? of(false)).pipe(
map((s) => ({ ...p, isSpeaking: s } as Participant)),
map((s) => ({ ...p, isSpeaking: s }) as Participant),
);
} else {
return of(p);
Expand Down

0 comments on commit 9a3de14

Please sign in to comment.