yosoyubik / canvas

Peer-to-peer paint app for Urbit
MIT License
142 stars 9 forks source link

tile doesn't show up on home screen #2

Closed yosoyubik closed 3 years ago

yosoyubik commented 4 years ago

This seems wrong but somehow it fixes the problem with the tile not showing up:

> :launch &launch-action [%add %canvas /canvastile '/~canvas/js/tile.js']

Instead of targeting the %canvas-view app, using the %canvas (store/hook), even after failing (because it's not expecting to be called on that wire), works.

Here is the error:

subscribe failed from %launch on wire /canvastile
/~zod/home/0/app/canvas/hoon:<[102 50].[102 52]>
[%peer-canvas-strange [i=~.canvastile t=/]]
/~zod/home/0/app/canvas/hoon:<[102 19].[102 53]>
/~zod/home/0/app/canvas/hoon:<[102 7].[109 9]>
/~zod/home/0/app/canvas/hoon:<[101 7].[109 9]>
/~zod/home/0/app/canvas/hoon:<[100 7].[109 9]>
/~zod/stage/~2020.4.2..22.43.54..d20d/sys/vane/gall:<[1.201 9].[1.201 37]>
> :launch &launch-action [%add %canvas /canvastile '/~canvas/js/tile.js']
>=