add flow
This commit is contained in:
parent
33e49d86cc
commit
ec2172fbae
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