mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-25 17:37:19 +00:00
- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
11 lines
425 B
TypeScript
11 lines
425 B
TypeScript
/**
|
|
* Redux Hooks
|
|
* Typed Redux hooks for use throughout the application
|
|
*/
|
|
|
|
import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';
|
|
import type { RootState, AppDispatch } from './store';
|
|
|
|
// Use throughout app instead of plain `useDispatch` and `useSelector`
|
|
export const useAppDispatch = () => useDispatch<AppDispatch>();
|
|
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
|