Replace mizik by teks in Index page
This commit is contained in:
+2
-2
@@ -77,9 +77,9 @@ Home.propTypes = {
|
|||||||
|
|
||||||
export async function getServerSideProps() {
|
export async function getServerSideProps() {
|
||||||
const awtisResponse = await axios.get(`${process.env.API_URL}/awtis/count`)
|
const awtisResponse = await axios.get(`${process.env.API_URL}/awtis/count`)
|
||||||
const mizikResponse = await axios.get(`${process.env.API_URL}/mizik/count`)
|
const teksResponse = await axios.get(`${process.env.API_URL}/teks/count`)
|
||||||
const konbyenAwtis = awtisResponse.data
|
const konbyenAwtis = awtisResponse.data
|
||||||
const konbyenTeks = mizikResponse.data
|
const konbyenTeks = teksResponse.data
|
||||||
|
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
Reference in New Issue
Block a user