File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1111 "export" : " npm run now-build && next export"
1212 },
1313 "dependencies" : {
14- "@zeit-ui/react" : " ^1.0.0-rc.4 " ,
14+ "@zeit-ui/react" : " ^1.0.0-rc.9 " ,
1515 "@zeit-ui/react-icons" : " ^1.2.1" ,
1616 "ms" : " ^2.1.2" ,
1717 "next" : " ^9.3.6" ,
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ export const Btc = () => {
1313 const { setVisible, bindings } = useModal ()
1414 return (
1515 <>
16- <Button auto size = " mini" type = " secondary " onClick = { () => setVisible (true )} >Show address of BTC</Button >
16+ <Button auto size = " mini" onClick = { () => setVisible (true )} >Show address of BTC</Button >
1717 <Modal { ... bindings } >
1818 <Modal.Title >BTC</Modal.Title >
1919 <Modal.Subtitle >This is Witt's BTC address</Modal.Subtitle >
2020 <Modal.Content >
2121 <p >{ address } </p >
2222 </Modal.Content >
23- <Modal.Action >OK</Modal.Action >
23+ <Modal.Action onClick = { ({ close }) => close () } >OK</Modal.Action >
2424 </Modal >
2525 </>
2626 )
@@ -30,14 +30,14 @@ export const Alipay = () => {
3030 const { setVisible, bindings } = useModal ()
3131 return (
3232 <>
33- <Button auto size = " mini" type = " secondary " onClick = { () => setVisible (true )} >Show Alipay</Button >
33+ <Button auto size = " mini" onClick = { () => setVisible (true )} >Show Alipay</Button >
3434 <Modal { ... bindings } >
3535 <Modal.Title >Alipay</Modal.Title >
3636 <Modal.Subtitle >Scan code with Alipay</Modal.Subtitle >
3737 <Modal.Content >
3838 <Image width = { 150 } height = { 150 } src = " /assets/alipay.png" />
3939 </Modal.Content >
40- <Modal.Action >OK</Modal.Action >
40+ <Modal.Action onClick = { ({ close }) => close () } >OK</Modal.Action >
4141 </Modal >
4242 </>
4343 )
Original file line number Diff line number Diff line change 13081308 resolved "https://registry.yarnpkg.com/@zeit-ui/react-icons/-/react-icons-1.2.1.tgz#6e200adf6870aca0cd4a6e0d2ba5fb5196d53234"
13091309 integrity sha512-K0r7ZmqCB6Tl/tCmrjKXYuoWL9iMxUQem1lzUP/QCEJI+o0v5B0MnrEMzxrlXDFZDN/0wPjna0jcecQTL80GAA==
13101310
1311- " @zeit-ui/react@^1.0.0-rc.4 " :
1312- version "1.0.0-rc.4 "
1313- resolved "https://registry.yarnpkg.com/@zeit-ui/react/-/react-1.0.0-rc.4 .tgz#6763fd275f1bc81744034919bc617db51042e19d "
1314- integrity sha512-Y0FDBJ2NSmg0DVL0tYsry/qmi+PXWBkpg6MiHczjM9d4yhSwCgl2f2PUOWOq2fqfsXpMzKx69tGVEbUy32lTiw ==
1311+ " @zeit-ui/react@^1.0.0-rc.9 " :
1312+ version "1.0.0-rc.9 "
1313+ resolved "https://registry.yarnpkg.com/@zeit-ui/react/-/react-1.0.0-rc.9 .tgz#be54410f99d05a7970ccded5403f565eeeee07cb "
1314+ integrity sha512-PRqlw5Ydhu88aV7/6vMPaFe7TCMnwlb4WPJ4BahNULRlnNrYOZ4DF4E50U3z7M8sE+OXFkywVz2jvJI3BZbd6Q ==
13151315 dependencies :
13161316 styled-jsx "^3.2.5"
13171317
You can’t perform that action at this time.
0 commit comments