"use client"; import React from "react"; import { IInventoryItem, IStakingSource } from "typings"; import StakingSource from "./StakingSource"; const StakingSourcesView = (props: { stakingSources: IStakingSource[] | null; inventoryItems: IInventoryItem[] | null | undefined; claimStake: (stakingEventId: number) => void; startStake: ( inventoryItemId: number, storeItemId: string, wellId: number ) => void; createStakingSource: () => void; }) => { return (