show empty rewards message on overview page #847
1 changed files with 7 additions and 2 deletions
|
@ -1,9 +1,14 @@
|
||||||
|
// @flow
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Link from "component/link";
|
import Link from "component/link";
|
||||||
import { CreditAmount } from "component/common";
|
import { CreditAmount } from "component/common";
|
||||||
|
|
||||||
const RewardSummary = props => {
|
type Props = {
|
||||||
const { balance, unclaimedRewardAmount } = props;
|
unclaimedRewardAmount: number,
|
||||||
|
}
|
||||||
|
|
||||||
|
const RewardSummary = (props: Props) => {
|
||||||
|
const { unclaimedRewardAmount } = props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="card">
|
<section className="card">
|
||||||
|
|
Loading…
Reference in a new issue