Skip to content

Commit

Permalink
Simplify type juggling by making separate components for base pin and…
Browse files Browse the repository at this point in the history
… profiles mappings
  • Loading branch information
Pelsin committed May 4, 2024
1 parent 77c30d6 commit 3b21858
Show file tree
Hide file tree
Showing 2 changed files with 207 additions and 119 deletions.
4 changes: 2 additions & 2 deletions www/src/Components/CaptureButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const CaptureButton = ({
</Modal.Body>
<Modal.Footer>
{hasNext && (
<Button variant="secondary" onClick={() => skipButton()}>
<Button onClick={() => skipButton()}>
{t('CaptureButton:capture-button-modal-skip')}
</Button>
)}
Expand All @@ -103,7 +103,7 @@ const CaptureButton = ({
</Button>
</Modal.Footer>
</Modal>
<Button variant="secondary" onClick={() => setTriggerCapture(true)}>
<Button onClick={() => setTriggerCapture(true)}>
{small
? '🎮'
: `${
Expand Down
Loading

0 comments on commit 3b21858

Please sign in to comment.