Skip to content

Commit aba68cc

Browse files
authored
Merge pull request #128 from OpenIPC/deploy
Deploy
2 parents 464ca10 + 50efe50 commit aba68cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main-deployment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: test-deployment
22
run-name: Test deployment with GH Actions
33
on:
44
push:
5-
branchs:
6-
- deploy
5+
branches:
6+
- 'deploy'
77
jobs:
88
build:
99
runs-on: ubuntu-latest

src/components/widgets/qr-code-widget/QR-code-widget.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function QRCodeWidget({ textToCode }: { textToCode: string }) {
55
const svgRef = useRef();
66
useEffect(() => {
77
const segs: Array<QrSegment> = QrSegment.makeSegments(textToCode);
8-
const qr = QrCode.encodeSegments(segs, Ecc.QUARTILE, 1, 40, -1, true);
8+
const qr = QrCode.encodeSegments(segs, Ecc.HIGH, 1, 40, -1, true);
99
const svgStr = toSvgString(qr, 2, '#fff', '#000');
1010
const viewBox: string = (/ viewBox="([^"]*)"/.exec(svgStr) as RegExpExecArray)[1];
1111
const pathD: string = (/ d="([^"]*)"/.exec(svgStr) as RegExpExecArray)[1];

0 commit comments

Comments
 (0)