import React from 'react';
import { useInbox } from '../store.js';

export function PendingBanner(): React.ReactElement | null {
  const count = useInbox((s) => s.pendingCount);
  if (count === 0) return null;
  return (
    <div className="banner info">
      <span>🟡 Inkling이 정리하는 중: <b>{count}</b>건</span>
    </div>
  );
}
