import { useEffect } from 'react';

export default function Manage({ active }: { active: boolean }) {
  useEffect(() => {}, []);
  return (
    <form action="/api/stripe/create-portal-session" method="POST">
      <input type="hidden" id="session-id" name="session_id" value="" />
      <button id="checkout-and-portal-button" type="submit">
        Manage your billing information
      </button>
    </form>
  );
}
