aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/documentation/event_definition.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-29 06:05:13 +0800
committerFabio Berger <me@fabioberger.com>2017-11-29 06:05:13 +0800
commit4258e6dab18a7149d199bcbcb55b83a29f42bca0 (patch)
treecfc40f452f1754dafb944d088408e356e8782fda /packages/website/ts/pages/documentation/event_definition.tsx
parente59b6830472e85968ee5bef16eba91406c70a490 (diff)
downloaddexon-0x-contracts-4258e6dab18a7149d199bcbcb55b83a29f42bca0.tar.gz
dexon-0x-contracts-4258e6dab18a7149d199bcbcb55b83a29f42bca0.tar.zst
dexon-0x-contracts-4258e6dab18a7149d199bcbcb55b83a29f42bca0.zip
rename for clarity
Diffstat (limited to 'packages/website/ts/pages/documentation/event_definition.tsx')
-rw-r--r--packages/website/ts/pages/documentation/event_definition.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/pages/documentation/event_definition.tsx b/packages/website/ts/pages/documentation/event_definition.tsx
index 3b1b86112..469e6bb37 100644
--- a/packages/website/ts/pages/documentation/event_definition.tsx
+++ b/packages/website/ts/pages/documentation/event_definition.tsx
@@ -55,7 +55,7 @@ export class EventDefinition extends React.Component<EventDefinitionProps, Event
private renderEventCode() {
const indexed = <span style={{color: CUSTOM_GREEN}}> indexed</span>;
const eventArgs = _.map(this.props.event.eventArgs, (eventArg: EventArg) => {
- const t = (
+ const type = (
<Type
type={eventArg.type}
docsInfo={this.props.docsInfo}
@@ -63,7 +63,7 @@ export class EventDefinition extends React.Component<EventDefinitionProps, Event
);
return (
<span key={`eventArg-${eventArg.name}`}>
- {eventArg.name}{eventArg.isIndexed ? indexed : ''}: {t},
+ {eventArg.name}{eventArg.isIndexed ? indexed : ''}: {type},
</span>
);
});