Skip to content

Commit

Permalink
few move fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mohandast52 committed Mar 1, 2024
1 parent c9ae75c commit 7b7df56
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 23 deletions.
File renamed without changes.
7 changes: 0 additions & 7 deletions apps/autonolas-registry/__mocks__/functions.ts

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions apps/autonolas-registry/common-util/List/ListTable/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Table } from 'antd';
import { Loader, useScreen } from '@autonolas/frontend-library';

import { TOTAL_VIEW_COUNT } from 'util/constants';
import { useHelpers } from 'common-util/hooks';
import { useSvmConnectivity } from 'common-util/hooks/useSvmConnectivity';
import { useHelpers } from '../../hooks';
import { useSvmConnectivity } from '../../hooks/useSvmConnectivity';
import { ListEmptyMessage } from '../ListCommon';
import { getData, getTableColumns } from './helpers';

Expand Down
6 changes: 3 additions & 3 deletions apps/autonolas-registry/pages/_app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import { useRouter } from 'next/router';

/** wagmi config */
import { WagmiConfig as WagmiConfigProvider } from 'wagmi';
import { wagmiConfig } from '../common-util/Login/config';
import { wagmiConfig } from 'common-util/Login/config';

/** antd theme config */
import { THEME_CONFIG } from '@autonolas/frontend-library';
import Layout from '../components/Layout';
import GlobalStyle from '../components/GlobalStyles';
import Layout from 'components/Layout';
import GlobalStyle from 'components/GlobalStyles';
import { store } from '../store';

const DESC =
Expand Down
1 change: 0 additions & 1 deletion apps/autonolas-registry/specs/index.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { render } from '@testing-library/react';

import Index from '../pages/index';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { render } from '@testing-library/react';
import '@testing-library/jest-dom';
import { render } from '@testing-library/react';

import { IpfsHashGenerationModal } from '../../../../common-util/List/IpfsHashGenerationModal';
import { wrapProvider, mockV1Hash } from '../../../helpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { render } from '@testing-library/react';
import {
convertStringToArray,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { render } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import RegisterForm, { FORM_NAME } from 'common-util/List/RegisterForm';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { render, waitFor } from '@testing-library/react';
import { GATEWAY_URL } from 'util/constants';
import AgentDetails from 'components/ListAgents/details';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable jest/no-disabled-tests */
/* eslint-disable jest/max-expects */
import React from 'react';
import { render, waitFor } from '@testing-library/react';
import { GATEWAY_URL } from 'util/constants';
import Services from 'components/ListServices/details';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { render, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import ListServices from 'components/ListServices';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { render, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { getServiceManagerContract } from 'common-util/Contracts';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jest/max-expects */
import React from 'react';
import { useRouter } from 'next/router';
import { render, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import React from 'react';
// import { render } from '@testing-library/react';
// import { Footer } from './Footer';

Expand Down

0 comments on commit 7b7df56

Please sign in to comment.