raid-guild / dungeon-master-v2

Dungeon Master v2 Monorepo
https://dungeon-master-black.vercel.app
1 stars 0 forks source link

Split useAccounting into v2 and v3 #132

Closed ECWireless closed 4 months ago

ECWireless commented 4 months ago

Overview

Write now, all the accounting data is being parsed and formatted through the useAccounting hook. This is only for Moloch v2 data though. In order to not bloat that single hook, we should move it to useAccountingV2, and create a useAccountingV3 hook for all the new data.

There's also some formatting happening in the actual accounting page (check the useMemos in accounting.tsx). We should reorganize this in a way that is less bloated once v3 data comes into play.

Tasks

ECWireless commented 4 months ago

Closed by #138