import * as React from "react"; import styles from "../../../styles"; import ColoredCube from "../../ColoredCube/ColoredCube"; import StatsIcon from "../../Icons/StatsIcon/StatsIcon"; import { useSelector } from "react-redux"; import { SessionTransactions } from "../../../Interfaces/Interfaces"; export interface props {} export default function SessionStatsWidget() { const session_added = useSelector( (state: SessionTransactions) => state.session_transactions.added ); const session_removed = useSelector( (state: SessionTransactions) => state.session_transactions.removed ); return (
Current Session
Added
{session_added}
Removed
{session_removed}