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 Link from "component/link";
|
||||
import { CreditAmount } from "component/common";
|
||||
|
||||
const RewardSummary = props => {
|
||||
const { balance, unclaimedRewardAmount } = props;
|
||||
type Props = {
|
||||
unclaimedRewardAmount: number,
|
||||
}
|
||||
|
||||
const RewardSummary = (props: Props) => {
|
||||
const { unclaimedRewardAmount } = props;
|
||||
|
||||
return (
|
||||
<section className="card">
|
||||
|
|
Loading…
Reference in a new issue