Do not import as pack from AP renderer (#4048)
* Do not import as pack from AP renderer * rename
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user