{isLoading ? (
{
(async () => {
try {
- console.log(1, 'reloaded')
const tempNumSnapshots = await getProjectSercetSnapshotsCount({ workspaceId: String(router.query.id) })
setNumSnapshots(tempNumSnapshots);
const userWorkspaces = await getWorkspaces();
@@ -396,7 +395,7 @@ export default function Dashboard() {
}
// increasing the number of project commits
- setNumSnapshots(numSnapshots ?? 0 + 1);
+ setNumSnapshots((numSnapshots ?? 0) + 1);
};
const addData = (newData: SecretDataProps[]) => {
diff --git a/img/infisical_github_repo.png b/img/infisical_github_repo.png
index ed763aad7..96aa80310 100644
Binary files a/img/infisical_github_repo.png and b/img/infisical_github_repo.png differ