@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 9 lines 308 Bytes
Raw
1 import { useSyncExternalStore } from "react";
2
3 import { getCustomThemes, subscribeToCustomThemes } from "../themePalette";
4
5 const EMPTY_CUSTOM_THEMES: readonly [] = [];
6
7 export function useCustomThemes() {
8 return useSyncExternalStore(subscribeToCustomThemes, getCustomThemes, () => EMPTY_CUSTOM_THEMES);
9 }