i don't know how to compare objects in js

This commit is contained in:
jjanzen 2025-02-10 17:39:10 -06:00
parent 77bb6a545f
commit 185f8d6318

View file

@ -6,7 +6,7 @@ function load_random_site() {
.then((obj) => {
const entries = obj; // TODO: remove myself from the list
const entries_cleaned = obj.filter((item) => {
return !item.equals({
return !item.is({
name: "jjanzen's website",
url: "https://jjanzen.ca",
});