Closed imrishabh18 closed 4 hours ago
is this list of snippets hardcoded?
@ahmedhalac No, the trending snippets list is not hardcoded
@imrishabh18 I can't repro in local works fine
@Abse2001 It is still getting duplicated as you can test in the https://tscircuit.com
@imrishabh18 ya I was asking if you now if we can repro in local.
when you are signed out there is no duplicate https://tscircuit.com when signed in there is.
@seveibar on local repo it does not get duplicated either if you are signed in or not idk how to repro this one.
Even I am not sure, probably it's a production api issue
@imrishabh18 yep it's a production API issue, @Abse2001 has figured out it's related to a join with user data because of the auth token
Internal issue w/ prod api filed here: https://github.com/tscircuit/registry-api/issues/36
Inside getSnippetsQuery
function used here https://github.com/tscircuit/registry-api/blob/main/routes/snippets/list_trending.ts
The
motor-driver-breakout
appears twice on the listcc: @seveibar