Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
final-exam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nawasan Wisitsingkhon
final-exam
Commits
c24a22ef
Commit
c24a22ef
authored
Oct 05, 2023
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change some color ui
parent
e3f6ec53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
order.js
src/pages/admin/order.js
+1
-1
order.js
src/pages/order.js
+0
-1
No files found.
src/pages/admin/order.js
View file @
c24a22ef
...
...
@@ -117,7 +117,7 @@ export default function Order() {
}}
>
<
MenuItem
value
=
{
0
}
>
<
Box
color
=
"
red
"
>
ยังไม่จัดส่ง
<
/Box
>
<
Box
color
=
"
gray
"
>
ยังไม่จัดส่ง
<
/Box
>
<
/MenuItem
>
<
MenuItem
value
=
{
1
}
>
<
Box
color
=
"orangered"
>
กำลังจัดส่ง
<
/Box
>
...
...
src/pages/order.js
View file @
c24a22ef
...
...
@@ -22,7 +22,6 @@ export default function Order() {
const
[
products
,
setProducts
]
=
useState
([]);
const
[
message
,
setMessage
]
=
useState
({
error
:
false
,
message
:
""
});
const
order
=
useContext
(
OrderContext
);
const
[
orderList
,
setOrderList
]
=
useState
([]);
const
[
payment
,
setPayment
]
=
useState
({
open
:
false
,
id
:
-
1
,
price
:
-
1
});
const
fetchProduct
=
async
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment