@prmichaelsen/acp-visualizer 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prmichaelsen/acp-visualizer",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "type": "module",
5
5
  "description": "Browser-based dashboard for visualizing ACP progress.yaml data",
6
6
  "bin": {
@@ -118,7 +118,8 @@ function RootLayout() {
118
118
  setInitialLoadDone(true)
119
119
 
120
120
  const repoParam = getRepoFromUrl()
121
- if (repoParam && !progressData) {
121
+ // Repo param takes precedence over default local data
122
+ if (repoParam) {
122
123
  fetchGitHubProgress({ data: repoParam }).then((result) => {
123
124
  if (result.ok) {
124
125
  setProgressData(result.data)
@@ -126,7 +127,7 @@ function RootLayout() {
126
127
  }
127
128
  })
128
129
  }
129
- }, [initialLoadDone, progressData])
130
+ }, [initialLoadDone])
130
131
 
131
132
  const handleGitHubLoad = useCallback(async (owner: string, repo: string) => {
132
133
  const result = await fetchGitHubProgress({ data: { owner, repo } })