Skip to content

Commit

Permalink
move fieldset to components
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Oct 8, 2024
1 parent e5c8052 commit 8086c17
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { FormGroup, TextInput } from '@patternfly/react-core';
import FormFieldset from "./FormFieldset";
import FormFieldset from "../components/FormFieldset";

Check warning on line 3 in clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/PrefilledModelRegistryField.tsx

View workflow job for this annotation

GitHub Actions / test-and-build

import statements should have an absolute path

Check failure on line 3 in clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/PrefilledModelRegistryField.tsx

View workflow job for this annotation

GitHub Actions / test-and-build

Replace `"../components/FormFieldset"` with `'../components/FormFieldset'`

type PrefilledModelRegistryFieldProps = {
mrName?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { isRegisterModelSubmitDisabled, registerModel } from './utils';
import { useRegistrationCommonState } from './useRegistrationCommonState';
import RegistrationCommonFormSections from './RegistrationCommonFormSections';
import RegistrationFormFooter from './RegistrationFormFooter';
import FormFieldset from './FormFieldset';
import FormFieldset from '../components/FormFieldset';

Check warning on line 25 in clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/RegisterModel.tsx

View workflow job for this annotation

GitHub Actions / test-and-build

import statements should have an absolute path

const RegisterModel: React.FC = () => {
const { modelRegistry: mrName } = useParams();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { FormGroup, TextInput } from '@patternfly/react-core';
import { TypeaheadSelect, TypeaheadSelectOption } from '@patternfly/react-templates';
import { RegisteredModel } from '~/app/types';
import FormFieldset from './FormFieldset';
import FormFieldset from '../components/FormFieldset';

Check warning on line 5 in clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/RegisteredModelSelector.tsx

View workflow job for this annotation

GitHub Actions / test-and-build

import statements should have an absolute path

type RegisteredModelSelectorProps = {
registeredModels: RegisteredModel[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { UpdateObjectAtPropAndValue } from '~/types';
import FormSection from '~/app/components/pf-overrides/FormSection';
import { ModelVersion } from '~/app/types';
import { ModelLocationType, RegistrationCommonFormData } from './useRegisterModelData';
import FormFieldset from './FormFieldset';
import FormFieldset from '../components/FormFieldset';

Check warning on line 22 in clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/RegistrationCommonFormSections.tsx

View workflow job for this annotation

GitHub Actions / test-and-build

import statements should have an absolute path
// import { ConnectionModal } from './ConnectionModal';

type RegistrationCommonFormSectionsProps = {
Expand Down
File renamed without changes.

0 comments on commit 8086c17

Please sign in to comment.