Skip to content

Commit

Permalink
fix: fix error on build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonath-z committed Dec 19, 2022
1 parent 4f7c799 commit 1968d1d
Show file tree
Hide file tree
Showing 19 changed files with 405 additions and 155 deletions.
231 changes: 231 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 12 additions & 10 deletions pages/Error/404.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// import React from 'react'
// import Error400 from '../../components/ErrorPages/Error400'
import React from "react";
// import Error400 from "../../components/ErrorPages/Error400";

// const error404 = () => {
// return (
// <div className="h-screen">
// <Error400/>
// </div>
// )
// }
const error404 = () => {
// return (
// <div className="h-screen">
// <Error400/>
// </div>
// )

// export default error404
return <></>;
};

export default error404;
22 changes: 12 additions & 10 deletions pages/Error/500.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// import React from 'react'
// import Error500 from '../../components/ErrorPages/Error500'
import React from "react";
// import Error500 from "../../components/ErrorPages/Error500";

// const error500 = () => {
// return (
// <div className='h-scren'>
// <Error500/>
// </div>
// )
// }
const error500 = () => {
// return (
// <div className='h-scren'>
// <Error500/>
// </div>
// )

// export default error500
return <></>;
};

export default error500;
12 changes: 5 additions & 7 deletions pages/account/edit.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// import React from 'react'
import React from "react";

// const edit = () => {
// return (
// <div>edit</div>
// )
// }
const edit = () => {
return <div>edit</div>;
};

// export default edit
export default edit;
21 changes: 11 additions & 10 deletions pages/account/profile.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// import React, { useState } from 'react'
// import { dailySalesData } from '../../components/dummy_data/dailySalesData';
// import UserProfilePage from '../../components/UserProfilePage'
import React from "react";
// import { dailySalesData } from "../../components/dummy_data/dailySalesData";
// import UserProfilePage from "../../components/UserProfilePage";

// const profile = () => {
// const [DailySales, SetDailySales] = useState(dailySalesData);
// return (
// <UserProfilePage DailySales={DailySales}/>
// )
// }
const profile = () => {
// const [DailySales, SetDailySales] = useState(dailySalesData);
return (
// <UserProfilePage DailySales={DailySales}/>
<></>
);
};

// export default profile
export default profile;
11 changes: 6 additions & 5 deletions pages/account/setting.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// import React from "react";
import React from "react";
// import AccountSettingsPage from "../../components/AccountSettingPage";

// const setting = () => {
// return (<AccountSettingsPage />);
// };
const setting = () => {
// return (<AccountSettingsPage />);
return <></>;
};

// export default setting;
export default setting;
19 changes: 10 additions & 9 deletions pages/admin/addcategory.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import React from 'react'
import AddCategoryPage from '../../components/AddCategoryPage'
import React from "react";
// import AddCategoryPage from '../../components/AddCategoryPage'

const addcategory = () => {
return (
<div className="bg-globalBg h-screen">
<AddCategoryPage/>
</div>
)
}
// return (
// <div className="bg-globalBg h-screen">
// <AddCategoryPage/>
// </div>
// )
<></>;
};

export default addcategory
export default addcategory;
21 changes: 11 additions & 10 deletions pages/admin/addnewsong.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import React from 'react'
import AddNewSongPage from '../../components/AddNewSongPage'
import React from "react";
// import AddNewSongPage from "../../components/AddNewSongPage";

const AddNewSinger = () => {
// return (
// <div className="bg-globalBg h-screen">
// <AddNewSongPage/>
// </div>
// )

const AddNewSinger= () => {
return (
<div className="bg-globalBg h-screen">
<AddNewSongPage/>
</div>
)
}
return <></>;
};

export default AddNewSinger
export default AddNewSinger;
Loading

0 comments on commit 1968d1d

Please sign in to comment.