You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I override a template then it fails, when I try to open a story.
This is the error I receive:
Uncaught TypeError: zuck.template(...) is not a function
at eval (modal.ts:222:63)
at Array.forEach (<anonymous>)
at createStoryViewer (modal.ts:217:20)
at callback (modal.ts:508:13)
at onOpen (options.ts:22:13)
at Object.show (modal.ts:548:32)
at story.onclick (index.ts:190:23)
I tried to use custom template based on this:
https://github.com/ramonszo/zuck.js/blob/master/src/options.ts#L56
But when I override a template then it fails, when I try to open a story.
This is the error I receive:
This is how I initialize it:
Without the custom template it works great. How can I make it work with a custom template?
Thanks!
The text was updated successfully, but these errors were encountered: