fixed the build issue
This commit is contained in:
parent
120fdcc69a
commit
a91b153325
1 changed files with 19 additions and 0 deletions
19
src/App.tsx
19
src/App.tsx
|
|
@ -2368,6 +2368,7 @@ export default function App() {
|
|||
<th>Customer</th>
|
||||
<th>Reason Given</th>
|
||||
<th>Status</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -2384,6 +2385,24 @@ export default function App() {
|
|||
<td>
|
||||
<span className="badge badge-warning">{r.status}</span>
|
||||
</td>
|
||||
<td>
|
||||
<div style={{ display: 'flex', gap: '0.5rem' }}>
|
||||
<button
|
||||
className="btn btn-primary"
|
||||
style={{ padding: '0.3rem 0.6rem', fontSize: '0.8rem' }}
|
||||
onClick={() => handleReturnAction(r.id, 'Approved')}
|
||||
>
|
||||
Approve
|
||||
</button>
|
||||
<button
|
||||
className="btn btn-outline-dark"
|
||||
style={{ padding: '0.3rem 0.6rem', fontSize: '0.8rem', borderColor: 'var(--error)', color: 'var(--error)' }}
|
||||
onClick={() => handleReturnAction(r.id, 'Rejected')}
|
||||
>
|
||||
Reject
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Reference in a new issue