mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 23:16:21 +00:00
🆙 New: Added a new Chat window, handy for in game / building etc.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { useBetween } from 'use-between';
|
||||
import { LocalStorageKeys } from '../api';
|
||||
import { useLocalStorage } from './useLocalStorage';
|
||||
|
||||
const useChatWindowState = () => useLocalStorage(LocalStorageKeys.CHAT_WINDOW_ENABLED, false);
|
||||
|
||||
export const useChatWindow = () => useBetween(useChatWindowState);
|
||||
Reference in New Issue
Block a user