Skip to content

Commit 7a4829b

Browse files
committed
Fixed DevToolbar addRandomProduct button
1 parent cae9a53 commit 7a4829b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DevToolbar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class DevToolbar extends React.Component<IDevToolbarProps> {
4848
<Box auto>{config.API.host}</Box>
4949
{this.qrcode()}
5050
<Button icon="credit-card" onClick={() => dispatch(login('1337'))}/>
51-
<Button icon="plus" onClick={this.addRandomProduct}/>
51+
<Button icon="plus" onClick={() => this.addRandomProduct()}/>
5252
</Flex>
5353
);
5454
}

0 commit comments

Comments
 (0)