-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve displayed token orders (#544)
* fix: links to different position management pages flip the token order * fix: place tokenA on left and tokenB on right in Pool pages * fix: place tokenA on left and tokenB on right in Orderbook pages * fix: switch placement of tokens on Pool Overview page * docs: clarify the realtime price return price direction * fix: use correct realtime price direction for Pool Overview page
- Loading branch information
Showing
10 changed files
with
82 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// vite.config.ts | ||
import { defineConfig } from 'file:///Users/david/Projects/Duality/duality-web-app/node_modules/vite/dist/node/index.js'; | ||
import react from 'file:///Users/david/Projects/Duality/duality-web-app/node_modules/@vitejs/plugin-react/dist/index.mjs'; | ||
var config = defineConfig({ | ||
envPrefix: 'REACT_APP_', | ||
plugins: [react()], | ||
build: { | ||
outDir: 'build', | ||
}, | ||
test: { | ||
globals: true, | ||
environment: 'jsdom', | ||
deps: { | ||
optimizer: { | ||
web: { | ||
// some libraries are not ESM are require transforming | ||
include: ['@visx/scale'], | ||
}, | ||
}, | ||
}, | ||
}, | ||
}); | ||
var vite_config_default = config; | ||
export { vite_config_default as default }; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvZGF2aWQvUHJvamVjdHMvRHVhbGl0eS9kdWFsaXR5LXdlYi1hcHBcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIi9Vc2Vycy9kYXZpZC9Qcm9qZWN0cy9EdWFsaXR5L2R1YWxpdHktd2ViLWFwcC92aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vVXNlcnMvZGF2aWQvUHJvamVjdHMvRHVhbGl0eS9kdWFsaXR5LXdlYi1hcHAvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBkZWZpbmVDb25maWcsIFVzZXJDb25maWcgfSBmcm9tICd2aXRlJztcbmltcG9ydCB7IElubGluZUNvbmZpZyB9IGZyb20gJ3ZpdGVzdCc7XG5pbXBvcnQgcmVhY3QgZnJvbSAnQH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