Skip to content

Commit

Permalink
Merge pull request #54 from bnb-chain/cicd1024
Browse files Browse the repository at this point in the history
chore: Update cicd
  • Loading branch information
wenty22 authored Oct 24, 2024
2 parents c95018e + 08ac4fc commit e543b26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ jobs:
with:
path: .github/CODEOWNERS

- name: Log
run: |
echo "${{github.event.pull_request.user.login}}"
cicd:
needs: [pre-check]
if: contains(needs.pre-check.outputs.codeowners, github.event.pull_request.user.login)
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface ICanonicalBridgeConfig {
appName: string;
assetPrefix?: string;

appearance?: {
appearance: {
mode?: ColorMode;
theme?: ThemeProviderProps['themeConfig'];
locale?: string;
Expand Down Expand Up @@ -88,9 +88,9 @@ export function CanonicalBridgeProvider(props: CanonicalBridgeProviderProvider)
return (
<CanonicalBridgeContext.Provider value={value}>
<StoreProvider>
<IntlProvider locale={value.appearance!.locale!} messages={value.appearance!.messages}>
<IntlProvider locale={value.appearance.locale!} messages={value.appearance.messages}>
<AggregatorProvider transferConfig={transferConfig} chains={chains}>
<ThemeProvider themeConfig={value.appearance!.theme} colorMode={value.appearance!.mode}>
<ThemeProvider themeConfig={value.appearance.theme} colorMode={value.appearance.mode}>
<WalletProvider>
<TokenBalancesProvider />
<TokenPricesProvider />
Expand Down

0 comments on commit e543b26

Please sign in to comment.