ReferenceError: mergePath is not defined
vhscom opened this issue · comments
Josh Habdas commented
The library throws an error when attempting to run signOut
in version 0.4.1
. It seems mergePath
didn't make it into the client
bundle. Here's a workaround: https://github.com/vhscom/svelte-headlessui-starter/blob/trunk/src/routes/account/signout.ts
A. Rabus commented
if i don't miss some js black magic here, i think in client/signIn.ts
and signOut.ts
this import is missing:
import { mergePath } from "./helpers";
and helpers does not export the mergePath
function:
export function mergePath(basePaths: (string | null)[], path: string) {
Josh Habdas commented