@@ -16,39 +16,15 @@ import { sigil, reactRenderer } from 'urbit-sigil-js';
1616
1717function makeSigil(size, patp, colors) {
1818 const config = {
19− patp: patp,
20− colors: colors,
2119 margin: 0,
2220 renderer: reactRenderer,
21+ full: true,
22+ patp,
23+ colors,
24+ size
2325 };
2426
25− // Planet
26− if (patp.length === 14) {
27− return sigil({
28− patp: patp,
29− size: size,
30− ...config,
31− });
32− }
33− // Star
34− if (patp.length === 7) {
35− return sigil({
36− patp: patp,
37− width: size * 2,
38− height: size,
39− full: true,
40− ...config,
41− });
42− }
43− // Galaxy
44− if (patp.length === 4) {
45− return sigil({
46− patp: patp,
47− size: size,
48− full: true,
49− ...config,
50− });
51− }
27+ return sigil(config);
5228}
5329
5430const symbols = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13];