feat: instrument analysis

This commit is contained in:
OpenSquared
2026-06-30 16:50:26 +02:00
parent 9ffcfeeb71
commit ecb9b74b20
3 changed files with 30 additions and 8 deletions

View File

@@ -1,4 +1,7 @@
import { createContext, useContext, useCallback, useState, ReactNode } from 'react'
import { createContext, useContext, useCallback, useState, useEffect, ReactNode } from 'react'
// Instruments that exist in instruments.json — used to validate localStorage
const VALID_INSTRUMENT_SUFFIX = /^[A-Z0-9]+=?[A-Z0-9-]*$/
interface TabsCtx {
kept: ReadonlySet<string>