mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-04 11:22:40 -05:00
23 lines
661 B
TypeScript
23 lines
661 B
TypeScript
import { useSearchParam } from "~/modules/search-params/hooks";
|
|
import { compAnalyzerSearchParams } from "./comp-analyzer-search-params";
|
|
|
|
export function useCategorization() {
|
|
return useSearchParam(compAnalyzerSearchParams, "categorization");
|
|
}
|
|
|
|
export function useSelectedWeapons() {
|
|
return useSearchParam(compAnalyzerSearchParams, "weapons");
|
|
}
|
|
|
|
export function useSingleWeaponCombos() {
|
|
return useSearchParam(compAnalyzerSearchParams, "singleCombos");
|
|
}
|
|
|
|
export function useTargetSubDefenseAp() {
|
|
return useSearchParam(compAnalyzerSearchParams, "subDef");
|
|
}
|
|
|
|
export function useTargetResAp() {
|
|
return useSearchParam(compAnalyzerSearchParams, "res");
|
|
}
|