Skip to content

Commit

Permalink
Create a folder to hold component and test
Browse files Browse the repository at this point in the history
In order to have a better organization of the components
and its tests, those should be under a folder with the
same name as the component itsef. Also, some affected
components imports must be corrected to the new path.

Signed-off-by: Carla Martinez <carlmart@redhat.com>
  • Loading branch information
carma12 committed Feb 18, 2025
1 parent 81eac32 commit f0a4cb3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ValidatedOptions,
} from "@patternfly/react-core";
// Components
import SecondaryButton from "../layouts/SecondaryButton";
import SecondaryButton from "../../layouts/SecondaryButton";
// Utils
import { updateIpaObject } from "src/utils/ipaObjectUtils";

Expand Down
2 changes: 1 addition & 1 deletion src/components/HostsSections/HostSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import IpaTextInput from "../Form/IpaTextInput/IpaTextInput";
import IpaCheckbox from "../Form/IpaCheckbox/IpaCheckbox";
import IpaCheckboxes from "../Form/IpaCheckboxes/IpaCheckboxes";
import IpaSshPublicKeys from "../Form/IpaSshPublicKeys";
import IpaTextboxList from "../Form/IpaTextboxList";
import IpaTextboxList from "../Form/IpaTextboxList/IpaTextboxList";

// Layouts
import PopoverWithIconLayout from "../layouts/PopoverWithIconLayout";
Expand Down
2 changes: 1 addition & 1 deletion src/components/UsersSections/UsersContactSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Metadata, User } from "src/utils/datatypes/globalDataTypes";
// Utils
import { asRecord } from "src/utils/userUtils";
// Form
import IpaTextboxList from "../Form/IpaTextboxList";
import IpaTextboxList from "../Form/IpaTextboxList/IpaTextboxList";

interface PropsToUsersContactSettings {
user: Partial<User>;
Expand Down
2 changes: 1 addition & 1 deletion src/components/UsersSections/UsersEmployeeInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Metadata, User } from "src/utils/datatypes/globalDataTypes";
// Form
import IpaTextInput from "../Form/IpaTextInput/IpaTextInput";
import IpaSelect from "../Form/IpaSelect/IpaSelect";
import IpaTextboxList from "../Form/IpaTextboxList";
import IpaTextboxList from "../Form/IpaTextboxList/IpaTextboxList";
// Utils
import { asRecord } from "src/utils/userUtils";

Expand Down

0 comments on commit f0a4cb3

Please sign in to comment.