refactor: move cartUrl from Store to Link (#87)

This commit is contained in:
George
2020-09-19 19:49:09 -07:00
committed by GitHub
parent 381f1f7505
commit 1e9d8fec42
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,5 @@
interface Link {
cartUrl?: string;
brand: string;
model: string;
url: string;
@@ -7,7 +8,6 @@ interface Link {
}
export interface Store {
cartUrl?: string;
links: Link[];
name: string;
}