mirror of
https://github.com/ascribe/onion.git
synced 2024-11-16 01:55:07 +01:00
56eff0d9ed
The React dev tools don’t seem to be able to automatically pick up the displayName when using createClass from within another function, so it’s added here to give clarity when debugging.
15 lines
347 B
JavaScript
15 lines
347 B
JavaScript
'use strict';
|
|
|
|
import React from 'react';
|
|
|
|
import AclButton from './acl_button';
|
|
|
|
import { getLangText } from '../../../utils/lang_utils';
|
|
|
|
export default AclButton({
|
|
action: 'acl_unconsign',
|
|
displayName: 'UnconsignButton',
|
|
title: getLangText('Unconsign artwork'),
|
|
tooltip: getLangText('Have the owner manage his sales again')
|
|
});
|