From a00e5fd657d0e61ac912d2319668c7d338850846 Mon Sep 17 00:00:00 2001 From: Marek Piasecki Date: Wed, 11 Jan 2023 18:34:58 +0100 Subject: [PATCH] fix import path --- src/router.imba | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/router.imba b/src/router.imba index e69de29..c2656da 100644 --- a/src/router.imba +++ b/src/router.imba @@ -0,0 +1,14 @@ +import "pro-router/standalone" +import "./lib/router_tag.imba" +import { compact, fromPairs, chunk, includes, reject, toPairs, flatten } from 'lodash' + +let helpers = + compact: compact + fromPairs: fromPairs + chunk: chunk + includes: includes + reject: reject + toPairs: toPairs + flatten: flatten + +R.init(helpers: helpers, views: ['day-select', 'choose-slot', 'booking-confirmation'], root: 'day-select', render: imba.commit) \ No newline at end of file