mirror of
				https://github.com/KevinMidboe/planetposen-frontend.git
				synced 2025-10-29 13:10:12 +00:00 
			
		
		
		
	Linting
This commit is contained in:
		| @@ -24,19 +24,19 @@ export interface IShipmentEvent { | |||||||
| } | } | ||||||
|  |  | ||||||
| export interface IShipmentResponse { | export interface IShipmentResponse { | ||||||
|   shipment_id: string |   shipment_id: string; | ||||||
|   order_id: string |   order_id: string; | ||||||
|   courier: string |   courier: string; | ||||||
|   has_api: boolean |   has_api: boolean; | ||||||
|   courier_id: number |   courier_id: number; | ||||||
|   tracking_code: string |   tracking_code: string; | ||||||
|   tracking_link: string |   tracking_link: string; | ||||||
|   user_notified: boolean |   user_notified: boolean; | ||||||
| } | } | ||||||
|  |  | ||||||
| export interface ICourier { | export interface ICourier { | ||||||
|   courier_id: number |   courier_id: number; | ||||||
|   name: string |   name: string; | ||||||
|   website: string |   website: string; | ||||||
|   has_api: boolean |   has_api: boolean; | ||||||
| } | } | ||||||
| @@ -30,7 +30,7 @@ | |||||||
|  |  | ||||||
|     fetch(url, options) |     fetch(url, options) | ||||||
|       .then((resp) => resp.json()) |       .then((resp) => resp.json()) | ||||||
|       .then((response) => shipping = response?.shipment || shipping); |       .then((response) => (shipping = response?.shipment || shipping)); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   function addShipment() { |   function addShipment() { | ||||||
|   | |||||||
| @@ -237,7 +237,8 @@ | |||||||
|         align-items: center; |         align-items: center; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|       li span:first-of-type, li label:first-of-type { |       li span:first-of-type, | ||||||
|  |       li label:first-of-type { | ||||||
|         display: inline-block; |         display: inline-block; | ||||||
|         margin-bottom: auto; |         margin-bottom: auto; | ||||||
|         min-width: 30%; |         min-width: 30%; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user