[refactor][x]: move reusable ErrorMessage component to _shared
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useQuery } from '@apollo/react-hooks';
|
||||
import Item from './Item';
|
||||
import ErrorMessage from '../Error';
|
||||
import { ErrorMessage } from '../_shared';
|
||||
import { SEARCH_QUERY } from '../../graphql/queries';
|
||||
|
||||
export default function List({ variables }) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useQuery } from '@apollo/react-hooks';
|
||||
import ErrorMessage from '../Error';
|
||||
import { ErrorMessage } from '../_shared';
|
||||
import { GET_TOTAL_COUNT_QUERY } from '../../graphql/queries';
|
||||
|
||||
export default function Total({ variables }) {
|
||||
|
||||
Reference in New Issue
Block a user