Skip to content

Commit 0e4d589

Browse files
authored
Merge pull request #50 from synonymdev/tweaks4
Small fixes
2 parents 5b8a086 + 022d827 commit 0e4d589

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/components/input-group/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export default ({
9393
{type === 'number' ? (
9494
<NumberFormat
9595
inputMode='numeric'
96+
data-lpignore='true'
9697
className={'custom-input'}
9798
thousandSeparator={' '}
9899
id={id}

src/pages/public/configure/index.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ function ConfigurePage(): JSX.Element {
156156
errors.localBalance = `Total channel capacity is ${numberWithSpaces(
157157
product.max_channel_size
158158
)} sats`;
159-
} else if (Number(localBalance) < product.min_channel_size) {
160-
// TODO remove this check if the min spending cap check is removed from API
161-
errors.localBalance = `Minimum spending capacity is ${numberWithSpaces(
162-
product.min_channel_size
163-
)} sats`;
164159
}
165160
}
166161

0 commit comments

Comments
 (0)