Skip to content

Commit

Permalink
fix: resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
agrim-deriv committed Sep 5, 2024
2 parents 1b4ebb6 + 072c92c commit 7421fb1
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ jobs:
if: always() && ${{ steps.publish_to_vercel.outcome != 'success'}}
uses: ./.github/actions/notify_slack
with:
RELEASE_TYPE: ${{ env.RELEASE_TYPE }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MESSAGE: "Publish to vercel failed for '${{ env.RELEASE_TYPE }}' release on api.deriv.com with version *'${{ needs.build_and_publish.outputs.RELEASE_VERSION }}"
12 changes: 12 additions & 0 deletions config/v3/proposal/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,18 @@
"type": "integer",
"examples": 75
},
"payout": {
"description": "Contains information for minimum and maximum payout amount for the contract.",
"type": "object",
"additionalProperties": false,
"properties": {
"max": {
"description": "Maximum payout allowed",
"type": "string",
"examples": "1000.00"
}
}
},
"stake": {
"description": "Contains information for minimum and maximum stake amount for the contract.",
"type": "object",
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = {
'@site/(.*)': '<rootDir>/$1',
'\\.(css|scss|sass|less)$': 'identity-obj-proxy',
'@deriv-com/quill-ui': 'node_modules/@deriv-com/quill-ui/dist/main.js',
'\\.(svg)$': '<rootDir>/src/__mocks__/file.mock.ts',
},
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'mjs', 'json'],
rootDir: '.',
Expand Down
1 change: 1 addition & 0 deletions src/__mocks__/file.mock.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = 'SVGMock';
13 changes: 13 additions & 0 deletions src/assets/gray-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Translate from '@docusaurus/Translate';
import styles from './Footer.module.scss';

import GrayLogo from '../../assets/gray-logo.svg';

const Footer = () => {
const {
i18n: { currentLocale },
Expand Down Expand Up @@ -92,7 +94,9 @@ const Footer = () => {
<section className={styles.FooterContainer} data-testid='footer-text'>
<div className={styles.FooterBody}>
<div className={styles.LogoWrapper}>
<img src='img/gray-logo.svg' alt='Deriv API Logo' className={styles.FooterLogo} />
<div className={styles.FooterLogo}>
<GrayLogo />
</div>
</div>
<div className={styles.FooterSection}>
<section className={styles.Section1} data-testid='API-section'>
Expand Down

0 comments on commit 7421fb1

Please sign in to comment.