Skip to content

Commit

Permalink
Working in mainApi.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RossTrillo authored Jan 18, 2024
1 parent d1def34 commit 6da9c5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/viewsComponents/apiView/mainApi.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { updateURLstate } from "../../router.js";
import { loadRoute } from "../../index.js";

const apiKey = localStorage.getItem("apiKey");
if (apiKey !== null) {
const dataItemValue = localStorage.getItem("dataItem");
Expand Down

0 comments on commit 6da9c5e

Please sign in to comment.