Skip to content

Commit 2968874

Browse files
committed
refactor: renaming TransportModeLivinglabForm to LivingLabTransportModeForm
1 parent 6d62f5a commit 2968874

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/react/TransportModesList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState } from "react";
2-
import { TransportModeLivingLabForm } from "./form/TransportModeLivingLabForm";
2+
import { LivingLabTransportModeForm } from "./form/LivingLabTransportModeForm";
33
import {
44
type ITransportMode,
55
type IIKpiResultBeforeAfter,
@@ -90,7 +90,7 @@ export function TransportModesList({
9090
)}
9191
</TableCell>
9292
<TableCell>
93-
<TransportModeLivingLabForm
93+
<LivingLabTransportModeForm
9494
value={livingLabTransportModesMap.get(m.id)}
9595
transportModeId={m.id}
9696
livingLabId={livingLabId}

src/components/react/form/TransportModeLivingLabForm.tsx renamed to src/components/react/form/LivingLabTransportModeForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface Props {
2020
onDelete?: (id: number) => void;
2121
}
2222

23-
export function TransportModeLivingLabForm({
23+
export function LivingLabTransportModeForm({
2424
value,
2525
transportModeId,
2626
livingLabId,

src/components/react/form/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export * from "./SignupForm";
22
export * from "./LivingLabForm";
3-
export * from "./TransportModeLivingLabForm";
3+
export * from "./LivingLabTransportModeForm";
44
export * from "./LivingLabKpiResultForm";
55
export * from "./BeforeAndAfterDates";

src/types/TransportMode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface ITransportModeLivingLab {
2121
status: EnumTransportModeStatus;
2222
}
2323

24-
export type ITransportModeLivingLabForm = Pick<
24+
export type ILivingLabTransportModeForm = Pick<
2525
ITransportModeLivingLab,
2626
"status" | "transport_mode_id" | "living_lab_id"
2727
> & {

0 commit comments

Comments
 (0)