Skip to content

Commit

Permalink
:fix: CheckPage 기능 구현 완료 #29
Browse files Browse the repository at this point in the history
  • Loading branch information
bongsh0112 committed Aug 10, 2022
1 parent 6c33866 commit dc75781
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Tickets/CheckPage/CheckPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ function CheckPage() {
if (!history.location.state) {
history.push('ticket/checkenter');
}
console.log(count);
// console.log('history.location.state:', history.location.state); //result: '{date: 'OB', cam: 'environment'}'
// console.log('location:', location); //result: '{pathname: '/tickets/check', search: '', hash: '', state: {…}, key: 'xf82gqmb'}'
}, [location, count]);
}, [location]);

const handleScan = (result, error) => {
dispatch(
Expand Down Expand Up @@ -59,7 +58,6 @@ function CheckPage() {
paddingTop: '0'
}}
/>
{count}
<div class="app__overlay">
<div class="app__overlay-frame"></div>
{/* <!-- Scanner animation --> */}
Expand Down

0 comments on commit dc75781

Please sign in to comment.