fix(stats): restore model page rendering
This commit is contained in:
parent
bd8ce5e6a9
commit
418a9e4e66
2 changed files with 0 additions and 3 deletions
|
|
@ -53,7 +53,6 @@ export type StatsModelData = {
|
|||
tokenChange: number
|
||||
totals: {
|
||||
sessions: number
|
||||
users: number
|
||||
tokens: number
|
||||
cost: number
|
||||
tokensPerSession: number
|
||||
|
|
@ -286,7 +285,6 @@ function buildStatsModelData(
|
|||
tokenChange: percentChange(current.totalTokens, previous.totalTokens),
|
||||
totals: {
|
||||
sessions: current.sessions,
|
||||
users: current.uniqueUsers,
|
||||
tokens: current.totalTokens,
|
||||
cost: round(microcentsToDollars(current.totalCostMicrocents), 2),
|
||||
tokensPerSession: current.sessions > 0 ? Math.round(current.totalTokens / current.sessions) : 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue