Fix scoping of dataset in details.js
This commit is contained in:
parent
5390dc8400
commit
0f255a22bf
@ -27,7 +27,7 @@ if (currentLocation.searchParams.has("id")) {
|
||||
|
||||
if (response.ok) {
|
||||
const data = await response.json();
|
||||
const dataset = new Dataset(data);
|
||||
dataset = new Dataset(data);
|
||||
const upvoteComponent = dataset.createUpvoteComponent();
|
||||
|
||||
console.log(dataset.storageGet());
|
||||
|
Loading…
Reference in New Issue
Block a user