File size: 266 Bytes
423b87b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * Works similarly to `liveblocks-react` useRedo
 * https://liveblocks.io/docs/api-reference/liveblocks-react#useRedo
 *
 * const redo = useRedo()
 * redo()
 */
import { useRoom } from "./useRoom";

export function useRedo() {
  return useRoom().history.redo;
}