Skip to content

Commit

Permalink
fix: missing config, rename to .jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
therexone committed Nov 1, 2020
1 parent 51bdc1f commit 76b75e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/App.js → src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect, useRef } from "react";

import "./App.css";
import { config } from "./config";
import { API_KEY} from "./config";
import { radioStreams } from "./radioStreams";
import { localGifs } from "./localGifs";

Expand Down Expand Up @@ -38,7 +38,7 @@ function App() {
if (urlsRef.current.length === 0) {
const getGifSrc = async () => {
let response = await fetch(
`https://api.giphy.com/v1/gifs/search?api_key=${config.API_KEY}&q=synthwave&limit=50&offset=0&rating=G&lang=en`
`https://api.giphy.com/v1/gifs/search?api_key=${API_KEY}&q=synthwave&limit=50&offset=0&rating=G&lang=en`
);
let data = await response.json();
let srcList = data.data;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3590,7 +3590,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==

[email protected]:
[email protected], dotenv@^8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
Expand Down

0 comments on commit 76b75e3

Please sign in to comment.