Do not import as pack from AP renderer (#4048)

* Do not import as pack from AP renderer

* rename
This commit is contained in:
MeiMei
2019-01-31 02:29:36 +09:00
committed by syuilo
parent e220ef3e75
commit b8a7468c4a
21 changed files with 55 additions and 55 deletions

View File

@ -1,7 +1,7 @@
import config from '../../../config';
import * as uuid from 'uuid';
export default (x: any) => {
export const renderActivity = (x: any) => {
if (x == null) return null;
if (x !== null && typeof x === 'object' && x.id == null) {