File size: 380 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
// @flow
import { getThreadReactions } from '../models/threadReaction';
import createLoader from './create-loader';
export const __createThreadReactionLoader = createLoader(
threadIds => getThreadReactions(threadIds),
'group'
);
export default () => {
throw new Error(
'⚠️ Do not import loaders directly, get them from the GraphQL context instead! ⚠️'
);
};
|