diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 450c83a..b5f1a7d 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -13,7 +13,7 @@ import {AngularFireAuth} from '../../node_modules/angularfire2/auth'; templateUrl: 'app.component.html' }) export class AppComponent implements OnInit { - @LocalStorage({defaultValue: []}) + @LocalStorage({defaultValue: [], encryptionKey: 'HmRoBFUEVWqW5uvy'}) cart: {id: string; item: string; price: number; currency: 'CAD' | 'USD'; quantity: number}[]; constructor(