ui: rename gql to get template str highlight

This commit is contained in:
undefined committed 2021-09-20 13:43:53 +08:00
1 parent 95df2cfaf2
commit 836530ad56
4 files changed
+7 -7

No files matched your search

@@ -1,11 +1,11 @@
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';
import api, { e } from 'vj/utils/api';
import api, { gql } from 'vj/utils/api';
import AutoComplete from './AutoComplete';
// eslint-disable-next-line prefer-arrow-callback
const UserSelectAutoComplete = forwardRef(function UserSelectAutoComplete(props, ref) {
const itemsFn = (query) => api(e`
const itemsFn = (query) => api(gql`
users(search: ${query}) {
_id
uname