github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/ui/dashboard/src/components/snapshot/SnapshotRenderComplete/index.tsx (about)

     1  import { useDashboard } from "../../../hooks/useDashboard";
     2  
     3  const SnapshotRenderComplete = () => {
     4    const {
     5      render: { snapshotCompleteDiv },
     6    } = useDashboard();
     7  
     8    if (!snapshotCompleteDiv) {
     9      return null;
    10    }
    11  
    12    return <div id="snapshot-complete" className="hidden" />;
    13  };
    14  
    15  export default SnapshotRenderComplete;