Skip to content

Commit

Permalink
fix: ci build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Jan 3, 2020
1 parent 8d96afe commit 7c50b27
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/shared/qrcode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function QrCode(props: {
qr.toCanvas(ref.current, props.text, props.options)
return () => {
// if already rendered canvas, do not re-render img
// eslint-disable-next-line react-hooks/exhaustive-deps
cache.set(props.text, ref.current?.toDataURL())
}
}, [props.options, props.text])
Expand Down
2 changes: 1 addition & 1 deletion src/database/__tests__/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { generate_ECDH_256k1_KeyPair, import_ECDH_256k1_Key } from '../../utils/crypto.subtle'

test('ProfileIdentifier', () => {
const normal = new ProfileIdentifier('facebook.com!', 'user_id')
const normal = new ProfileIdentifier('facebook.com', 'user_id')
expect(normal.toText()).toBe('person:facebook.com/user_id')
expect(normal.friendlyToText()).toBe('[email protected]')
expect(normal.network).toBe('facebook.com')
Expand Down
1 change: 0 additions & 1 deletion src/extension/content-script/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ import * as HoloflowsKit from '@holoflows/kit'
import React from 'react'
Object.assign(window, { React })
Object.assign(window, HoloflowsKit)

0 comments on commit 7c50b27

Please sign in to comment.