[Glitch] Status Action Bar
Port 85c01b8aa9 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
ea1b35d121
commit
1060a7c43c
12 files changed
+751
-124
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { selectExpandedStatus, selectPlainStatus } from '../selectors/statuses';
|
||||
import { useAppSelector } from '../store';
|
||||
|
||||
export function useStatus(id: string) {
|
||||
return useAppSelector((state) => selectPlainStatus(state, id));
|
||||
}
|
||||
|
||||
export function useExpandedStatus(id: string) {
|
||||
return useAppSelector((state) => selectExpandedStatus(state, id));
|
||||
}
|
||||
Reference in new issue
Block a user