Closed vhscom closed 2 years ago
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) {
@ar4hc there's a pull to resolve this in #75
@ar4hc there's a pull to resolve this in #75
Found that after i made my comment... :( sry for the noise.
The library throws an error when attempting to run
signOut
in version0.4.1
. It seemsmergePath
didn't make it into theclient
bundle. Here's a workaround: https://github.com/vhscom/svelte-headlessui-starter/blob/trunk/src/routes/account/signout.ts