Skip to content

Commit

Permalink
chore: 調整比例&remove annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
louis70109 committed Sep 10, 2020
1 parent 0f2b4cb commit 68840af
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions utils/flex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@ export function generateFlex(query: flexUrlTemplate): FlexBubble {
footer: any = {},
hero: any = {};
if (query.imageUrl) {
// need to append to bubble object
hero = {
hero: {
type: "image",
url: query.imageUrl,
size: "full",
aspectRatio: "20:13",
aspectRatio: "16:9",
aspectMode: "cover",
action: {
type: "uri",
uri: query.imageUrl,
},
},
};
}
Expand Down

0 comments on commit 68840af

Please sign in to comment.