Skip to content

Commit

Permalink
fix. typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skqksh committed Dec 11, 2023
1 parent 1397024 commit 31525e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export const ConnectedApps = (): JSX.Element => {
if (!currentAccount) {
return;
}
await establishService.unestablishBy(currentAccount.id, item.hostname);
await establishService.unEstablishBy(currentAccount.id, item.hostname);
await updateDatas();
};

const updateDatas = async (): Promise<void> => {
if (!currentAccount) {
return;
}
const establishedSites = await establishService.getEstablisedSitesBy(currentAccount.id);
const establishedSites = await establishService.getEstablishedSitesBy(currentAccount.id);
setDatas(establishedSites);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class WalletEstablishService {
this.walletEstablishRepository = walletEstablishRepository;
}

public getEstablisedSitesBy = async (accountId: string): Promise<EstablishSite[]> => {
public getEstablishedSitesBy = async (accountId: string): Promise<EstablishSite[]> => {
const establishedSites = await this.walletEstablishRepository.getEstablishedSites();
const accountEstablishedSites = await this.selectEstablishedSitesBy(
accountId,
Expand Down Expand Up @@ -61,7 +61,7 @@ export class WalletEstablishService {
await this.walletEstablishRepository.updateEstablishedSites(changedEstablishedSites);
};

public unestablishBy = async (accountId: string, hostname: string): Promise<void> => {
public unEstablishBy = async (accountId: string, hostname: string): Promise<void> => {
const establishedSites = await this.walletEstablishRepository.getEstablishedSites();
const accountEstablishedSites = await this.selectEstablishedSitesBy(
accountId,
Expand Down

0 comments on commit 31525e1

Please sign in to comment.