Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
order-management-react
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ascend
order-management-react
Commits
bbeb55de
Commit
bbeb55de
authored
May 06, 2021
by
Kevin Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
quick commit
parents
8df77e2d
16edc8e4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
index.ts
src/components/index.ts
+6
-0
OrderShowPage.tsx
src/pages/OrderShowPage.tsx
+6
-0
No files found.
src/components/index.ts
View file @
bbeb55de
...
@@ -5,8 +5,14 @@ export {default as OrderDetails} from './OrderDetails'
...
@@ -5,8 +5,14 @@ export {default as OrderDetails} from './OrderDetails'
export
{
default
as
SignUpForm
}
from
'./SignUpForm'
export
{
default
as
SignUpForm
}
from
'./SignUpForm'
export
{
default
as
OrderShowDetails
}
from
'./OrderShowDetails'
export
{
default
as
OrderShowDetails
}
from
'./OrderShowDetails'
<<<<<<<
HEAD
<<<<<<<
HEAD
<<<<<<<
HEAD
export
{
default
as
SearchOrder
}
from
'./SearchOrder'
export
{
default
as
SearchOrder
}
from
'./SearchOrder'
=======
=======
export
{
default
as
Login
}
from
'./Login'
export
{
default
as
Login
}
from
'./Login'
export
{
default
as
Logout
}
from
'./Logout'
export
{
default
as
Logout
}
from
'./Logout'
>>>>>>>
:
construction
:
quick
commit
for
pull
>>>>>>>
:
construction
:
quick
commit
for
pull
=======
export
{
default
as
Login
}
from
'./Login'
export
{
default
as
Logout
}
from
'./Logout'
export
{
default
as
SearchOrder
}
from
'./SearchOrder'
>>>>>>>
16
edc8e40082f2b2af4e3abbe09f0dedf53e25a2
src/pages/OrderShowPage.tsx
View file @
bbeb55de
...
@@ -2,12 +2,15 @@ import { useParams } from 'react-router-dom';
...
@@ -2,12 +2,15 @@ import { useParams } from 'react-router-dom';
import
{
OrderShowDetails
}
from
'components'
;
import
{
OrderShowDetails
}
from
'components'
;
import
{
Order
,
Item
}
from
'Order'
;
import
{
Order
,
Item
}
from
'Order'
;
<
<<<<<<
HEAD
<
<<<<<<
HEAD
<<<<<<<
HEAD
import
{
useOrder
}
from
'
hooks
'
import
{
useOrder
}
from
'
hooks
'
const
OrderShowPage
=
()
=
>
{
const
OrderShowPage
=
()
=
>
{
const
{
id
}
=
useParams
<
any
>
();
const
{
id
}
=
useParams
<
any
>
();
const
{
order
}
=
useOrder
(
id
)
const
{
order
}
=
useOrder
(
id
)
=======
=======
=======
>>>>>>>
16
edc8e40082f2b2af4e3abbe09f0dedf53e25a2
import
{
OrderService
}
from
'services'
import
{
OrderService
}
from
'services'
const
OrderShowPage
=
(
props
:
any
)
=>
{
const
OrderShowPage
=
(
props
:
any
)
=>
{
...
@@ -22,7 +25,10 @@ const OrderShowPage = (props: any) => {
...
@@ -22,7 +25,10 @@ const OrderShowPage = (props: any) => {
setItems
(
data
.
orderItems
);
setItems
(
data
.
orderItems
);
})
})
},
[
apiUrl
])
},
[
apiUrl
])
<<
<
<<<<
HEAD
>
>>>>>>
[AFP-87] :construction: Working on Local Storage and adding google info [@kkaminski]
>
>>>>>>
[AFP-87] :construction: Working on Local Storage and adding google info [@kkaminski]
=======
>>>>>>>
16edc8e40082f2b2af4e3abbe09f0dedf53e25a2
if (!order)
{
if (!order)
{
return
(<></>);
return
(<></>);
...
...
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