When I/O inspecting get_connect_params, nil is always returned in local dev.
However, I am setting them when creating the socket:
let liveSocket = new LiveSocket("/live", Socket,
{
params: {
_csrf_token: csrfToken,
_locale: Intl.NumberFormat().resolvedOptions().locale,
_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
_timezone_offset: -(new Date().getTimezoneOffset() / 60)
},
hooks: Hooks
})
Why is I/O inspect returning nil?