summaryrefslogtreecommitdiff
path: root/bs5/universal/native/shared/ClientRouter.re
blob: 1d5365c844b6c9fd2f4f93a4b7a8ccbaffe43498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ClientRouter does nothing in native */
type t = Router.t(unit);

let useRouter: unit => t =
  () => {
    {
      location: Router.initialLocation,
      refresh: _ => (),
      navigate: _str => (),
      useAction: (_, _) => ((_, _, _) => (), false),
    };
  };