Skip to content

Commit

Permalink
Fix summon (#446)
Browse files Browse the repository at this point in the history
* Fix summon

* clear out extra app.t.tsx

* build sub-nav

* style sub-nav

* test subnav

* extract subNavLink into component

* subnavlink story

* build subnavlink story

* fix broken as prop

* Fix summon

* add mobile view, icon button trigger

* add tsc command to core-app

* adds human-format, removes profanity

* add human-format to dao-data

* move dts file

Co-authored-by: jordan <[email protected]>
Co-authored-by: Jord <[email protected]>
  • Loading branch information
3 people authored Jul 15, 2022
1 parent 4ca0e1a commit a7b03e4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/summon-app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"tsc": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "tsc --project apps/hub-app/tsconfig.app.json --noEmit --skipLibCheck",
"command": "tsc --project apps/summon-app/tsconfig.app.json --noEmit --skipLibCheck",
"color": true
}
},
Expand Down
File renamed without changes.
13 changes: 13 additions & 0 deletions libs/dao-data/src/human-format.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
type HumanFormatOptions = {
unit?: string;
decimals?: number;
maxDecimals?: number;
separator?: string;
};

declare module 'human-format' {
export default function format(
amount: number,
options?: HumanFormatOptions
): string;
}

0 comments on commit a7b03e4

Please sign in to comment.