[refactor][x]: move reusable ErrorMessage component to _shared

This commit is contained in:
Tavares Hansen
2020-08-03 19:21:09 -07:00
parent a82325b91a
commit ff134a02f9
11 changed files with 14 additions and 9 deletions

View File

@@ -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 }) {

View File

@@ -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 }) {