Skip to content

Commit

Permalink
chore: post rebase fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Petrunic <[email protected]>
  • Loading branch information
mpetrunic committed May 7, 2024
1 parent 5db505f commit 72ec313
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions packages/widget/src/components/common/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ export class Dropdown extends BaseComponent {
@property({ type: Object })
actionOption: HTMLTemplateResult | null = null;

@property({ type: String })
preSelectedOption = '';

@state()
selectedOption: DropdownOption | null = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,6 @@ export class FungibleTokenTransferController implements ReactiveController {
ReactiveElement
>;

isWalletDisconnected(context: WalletContext): boolean {
// Skip the method call during init
if (Object.values(context).length === 0) return false;

return !(!!context.evmWallet || !!context.substrateWallet);
}

get sourceDomainConfig(): EthereumConfig | SubstrateConfig | undefined {
if (this.sourceNetwork) {
return this.config.getDomainConfig(this.sourceNetwork.id);
}
return undefined;
}

get sourceSubstrateProvider(): ApiPromise | undefined {
if (this.sourceNetwork && this.sourceNetwork.type === Network.SUBSTRATE) {
const domainConfig = this.config.getDomainConfig(
Expand Down
1 change: 0 additions & 1 deletion packages/widget/src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import type {
Theme
} from './interfaces';
import { styles } from './styles';
import { BaseComponent } from './components/common';

@customElement('sygmaprotocol-widget')
class SygmaProtocolWidget
Expand Down

0 comments on commit 72ec313

Please sign in to comment.