mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-22 15:06:32 +00:00
fix(ci): formatting and two exports nothing imports
This commit is contained in:
@@ -83,7 +83,7 @@ function SubjectLine({
|
||||
}) {
|
||||
const text = (
|
||||
<bdi
|
||||
className={`${block ? 'block ' : ''}truncate text-body font-semibold leading-tight text-content ${struck ? 'line-through' : ''}`}
|
||||
className={`${block ? 'block' : ''}truncate text-body font-semibold leading-tight text-content ${struck ? 'line-through' : ''}`}
|
||||
>
|
||||
{subject}
|
||||
</bdi>
|
||||
@@ -133,7 +133,7 @@ function ChangeHead({ item, view, struck }: { item: ChangeItem; view: View | nul
|
||||
function BodySlot({ item, view, settled }: { item: ChangeItem; view: View | null; settled: boolean }) {
|
||||
if (!view?.Body || !item.card) return null;
|
||||
return (
|
||||
<div className={`ps-[38px] pb-1.5 ${settled ? 'opacity-60' : ''}`}>
|
||||
<div className={`pb-1.5 ps-[38px] ${settled ? 'opacity-60' : ''}`}>
|
||||
<Slot item={item} view={view} name="Body" />
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -131,7 +131,16 @@ describe('remoteEventHandler > broadcast parity', () => {
|
||||
const untouched = buildBudgetItem({ id: 61, members: [{ ...other, paid: 0 }] });
|
||||
useTripStore.setState({
|
||||
days: [buildDay({ id: 10 })],
|
||||
budgetItems: [buildBudgetItem({ id: 60, members: [{ ...guest, paid: 0 }, { ...other, paid: 1 }] }), untouched],
|
||||
budgetItems: [
|
||||
buildBudgetItem({
|
||||
id: 60,
|
||||
members: [
|
||||
{ ...guest, paid: 0 },
|
||||
{ ...other, paid: 1 },
|
||||
],
|
||||
}),
|
||||
untouched,
|
||||
],
|
||||
reservations: [buildReservation({ id: 70, travelers: [guest] })],
|
||||
packingItems: [buildPackingItem({ id: 80, recipients: [guest], contributors: [{ ...guest, status: 'packed' }] })],
|
||||
assignments: { '10': [buildAssignment({ id: 100, day_id: 10, participants: [guest] })] },
|
||||
|
||||
@@ -258,7 +258,7 @@ function runningTotals(legs: readonly number[]): number[] {
|
||||
}
|
||||
|
||||
/** The walking minutes from the start to each point, the whole time split over the legs by the signposts' rule. */
|
||||
export function waypointMinutesOf(
|
||||
function waypointMinutesOf(
|
||||
line: readonly GeometryPoint[],
|
||||
positions: readonly number[],
|
||||
total: number,
|
||||
|
||||
@@ -50,7 +50,7 @@ import {
|
||||
} from '@trek/shared';
|
||||
|
||||
/** The day a hike created over MCP was put on: the visit's id and the day's. */
|
||||
export interface HikeAssignment {
|
||||
interface HikeAssignment {
|
||||
id: number;
|
||||
day_id: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user