File size: 300 Bytes
6a839c1
423b87b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @ts-nocheck
/**
 * Works similarly to `liveblocks-react` useHistory
 * https://liveblocks.io/docs/api-reference/liveblocks-react#useHistory
 *
 * const history = useHistory()
 * history.pause()
 */
import { useRoom } from "./useRoom";

export function useHistory() {
  return useRoom().history;
}