-
- {props.bounty.reward_formatted}
-
-
- {props.bounty.task.repo_name}#{props.bounty.task.number}
-
-
- {props.bounty.task.title}
-
-
-
- );
+ return (
+
+
+ {props.bounty.reward_formatted}
+
+
+ {props.bounty.task.repo_name}#{props.bounty.task.number}
+
+
+ {props.bounty.task.title}
+
+
+
+ )
}
-const featuredBountyId = 'clxi7tk210002l20aqlz58ram';
+const featuredBountyId = 'clxi7tk210002l20aqlz58ram'
async function getFeaturedBounty() {
- const bounty: Bounty = await algora.bounty.get.query({ id: featuredBountyId });
- return bounty;
+ const bounty: Bounty = await algora.bounty.get.query({
+ id: featuredBountyId,
+ })
+ return bounty
}
export const Tutorial = () => {
- const [featuredBounty, setFeaturedBounty] = React.useState