Websockets not sending data

NNEO10/28/2022
Hi,

I have a websocket route that doesn't seem to be sending any data I added a setInterval to test it but it doesn't seem to be working

Version: 10.0.0-rc.1
NNEO10/29/2022
Apparently I missed the error "Subscriptions should use wsLink" the fix is to use splitLink function to conditionally handle websocket requests
NNEO10/29/2022
export const trpcInstance = trpc.createClient({
    links: [
        splitLink({
            condition(op) {
                return op.type === 'subscription';
            },
            true: wsLink({
                client: wsClient,
            }),
            false: httpLink({
                url: `http://localhost:3000`,
                headers() {
                    return {
                        Authorization: store.getState().appState.user.authToken
                    }
                }
            })
        })
    ]
})
NNEO10/29/2022
Hope this helps somebody closing the post now