Open GetPsyched opened 5 months ago
Since we are using .filter anyways instead of re-fetching, there are too many unnecessary DB calls to the database. It's better to extract that out as a client component and use useState.
.filter
useState
Since we are using
.filter
anyways instead of re-fetching, there are too many unnecessary DB calls to the database. It's better to extract that out as a client component and useuseState
.