on master help sign in
Fix Passport sigil colors for latest sigils-js
commite1a65947ba7c95e096b63fc5815499caf3760d79 authorFang <git@fang.io> dateFri 26 Jul 2019, 00:10 (7 years ago) parent5580cb6
1 file changed+2−2
src/components/Passport.js+2−2
src/components/Passport.js+2−2
@@ -30,7 +30,7 @@ const VISIBLE_ADDRESS_CHAR_COUNT = 20;
3030const EMPTY_ADDRESS = times(VISIBLE_ADDRESS_CHAR_COUNT, () => '<').join('');
3131const ADDRESS_BUFFER_CHARS = times(40, () => '<').join('');
3232
33−const INVERTED_COLORWAY = ['#000', '#fff', '#000'];
33+const INVERTED_COLORWAY = ['#fff', '#000'];
3434
3535const buildKeyType = permissions => {
3636 if (permissions.isOwner) {
@@ -142,7 +142,7 @@ Passport.Mini = function MiniPassport({ point, className, inverted, ...rest }) {
142142 patp={name}
143143 size={64}
144144 margin={0}
145− colorway={inverted ? INVERTED_COLORWAY : undefined}
145+ colors={inverted ? INVERTED_COLORWAY : undefined}
146146 />
147147 </Grid.Item>
148148 <Grid.Item as={Flex} cols={[4, 13]} col justify="between">