Skip to content

Commit

Permalink
Merge pull request #12 from w3aseL/api-transition
Browse files Browse the repository at this point in the history
Enable player now!
  • Loading branch information
w3aseL authored May 17, 2024
2 parents 0a7e69a + bc90b49 commit 23e8d38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ async function refreshAccessToken() {
})

updateTokens(response.data)
}
}

export { API_HOST }
6 changes: 3 additions & 3 deletions src/pages/Dashboard/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Container, Row, Col, Card, Table } from "reactstrap"

import { convertSecToHMS } from "../../helpers"

import { request } from "../../api"
import { request, API_HOST } from "../../api"

import { Layout, SongCard } from "../../components"

Expand Down Expand Up @@ -85,7 +85,7 @@ const DashboardPage = props => {
</Col>
</Row>

{/*<Row className="d-flex mt-3">
{<Row className="d-flex mt-3">
<Col md="8" className="d-flex ml-auto mr-auto">
<iframe
title="audio-player"
Expand All @@ -98,7 +98,7 @@ const DashboardPage = props => {
style={{ borderRadius: "5px" }}
/>
</Col>
</Row>*/}
</Row>}
<Row className="d-flex mt-3">
<Col md="5" className="ml-auto mr-auto">
{!state.loading && state.data ?
Expand Down

0 comments on commit 23e8d38

Please sign in to comment.