File size: 293 Bytes
c1f12bf
8951ca1
c1f12bf
8951ca1
c1f12bf
 
8951ca1
 
 
c1f12bf
5566043
8951ca1
1
2
3
4
5
6
7
8
9
10
11
12
13
'use client'

import { create } from 'zustand'

import { MetricsStore } from './types'
import { getDefaultMetricsState } from './getDefaultMetricsState'

export const useMetrics = create<MetricsStore>((set, get) => ({
  ...getDefaultMetricsState(),

  // TODO: add a track metric callback
}))