Skip to content

Commit

Permalink
fix(com-pwa): review
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Feb 11, 2023
1 parent 95868da commit c77a79e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions uniquely/com-pwa/src/content/home-page-fa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const homePageContent: PageHomeContent = {
elevated: 1,
stated: true,
icon: 'cloud-download-outline',
flipRtl: true,
headline: 'دانلود کاتالوگ',
description: 'دانلود کاتالوگ معرفی محصولات بازرگانی سافیت',
href: 'https://www.dropbox.com/s/dl/6ywy23qql7iq31p/soffit-product-catalogue.pdf',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {logger} from './logger.js';
import {config} from '../config.js';
import {orderStorageContextProvider, orderStorageContextConsumer, userContextConsumer} from '../context.js';

orderStorageContextProvider.setProvider(async (args) => {
orderStorageContextProvider.setProvider(async (args): Promise<void> => {
logger.logMethod('orderStorageContextProvider');

const userContext = userContextConsumer.getValue() ?? await userContextConsumer.untilChange();
Expand Down
1 change: 1 addition & 0 deletions uniquely/com-pwa/src/page-home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export class AlwatrPageHome extends AlwatrSmartElement {
productStorageContextConsumer.subscribe((value) => {
this._logger.logProperty(productStorageContextConsumer.id, value);
});

orderStorageContextConsumer.subscribe((value) => {
this._logger.logProperty(orderStorageContextConsumer.id, value);
});
Expand Down

0 comments on commit c77a79e

Please sign in to comment.