mirror of
https://github.com/FlipsideCrypto/flipside-js.git
synced 2026-02-06 10:48:11 +00:00
Use js_url properly, update. platform-api -> api
This commit is contained in:
parent
c0268f4f40
commit
124d14c2a1
@ -17,7 +17,7 @@ export default async function dynamic(api: API, el: string, opts: DynamicOpts) {
|
||||
|
||||
await loadJS([
|
||||
{
|
||||
url: "https://d3sek7b10w79kp.cloudfront.net/flipside-v1.10.0.js",
|
||||
url: res.data.js_url,
|
||||
allowExternal: true
|
||||
}
|
||||
]);
|
||||
|
||||
@ -57,7 +57,7 @@ export default class Table extends Component<Props, State> {
|
||||
}
|
||||
|
||||
onClickLearnMore() {
|
||||
const learnMoreUrl = `https://platform-api.flipsidecrypto.com/track/table-widget/${this.props.api.key}`;
|
||||
const learnMoreUrl = `https://api.flipsidecrypto.com/track/table-widget/${this.props.api.key}`;
|
||||
window.location.assign(learnMoreUrl);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user