Skip to content

fix(hooks): remove unused HorizonOperation/HorizonEffect interfaces (FlowwStar/FlowStar#376)#387

Open
jdjioe5-cpu wants to merge 1 commit into
FlowwStar:mainfrom
jdjioe5-cpu:fix/issue-376-remove-unused-interfaces
Open

fix(hooks): remove unused HorizonOperation/HorizonEffect interfaces (FlowwStar/FlowStar#376)#387
jdjioe5-cpu wants to merge 1 commit into
FlowwStar:mainfrom
jdjioe5-cpu:fix/issue-376-remove-unused-interfaces

Conversation

@jdjioe5-cpu

Copy link
Copy Markdown

Summary

Closes the #376 acceptance gate:

Confirm via repo-wide grep that these interfaces have no consumers, then remove them (coordinate with the companion issue about fetchHorizonTransactions() being dead code — if that function gets wired up instead of removed, these types may end up used).

Change

hooks/use-stream-history.ts: drop HorizonOperation (was lines 34-41) and HorizonEffect (was 43-49). Keep HorizonTransaction, which fetchHorizonTransactions() references for the typed parse at the function's body.

Verification

Repo-wide grep for HorizonOperation and HorizonEffect after the change returns 0 matches across *.ts and *.tsx. The remaining HorizonTransaction is untouched because it is the active parsed shape used inside fetchHorizonTransactions().

git diff shows 16 deletions, 0 additions.

…issue FlowwStar#376)

- hooks/use-stream-history.ts: drop HorizonOperation (used nowhere)
  and HorizonEffect (used nowhere); keep HorizonTransaction which
  fetchHorizonTransactions() references at line ~72.

Verified via repo-wide grep that no other .ts/.tsx file consumes
either interface. Close as part of FlowwStar#376.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant