WIP: update to include sectors!
[browser-rts.git] / src / render / kingdom-overview.ts
index 802eb010f239a379a2991391db3be9d226038a9a..d82f6a411d80042c23423a5fd1155f0aaf351eb8 100644 (file)
@@ -1,8 +1,8 @@
 import { Account } from "../repository/accounts";
-import { City } from "../repository/city";
+import { CityWithLocation } from "../repository/city";
 import * as _ from 'lodash';
 
-export function renderKingomOverview(city: City, account: Account): string {
+export function renderKingomOverview(city: CityWithLocation, account: Account): string {
     return `
        <div hx-trigger="every 600s" hx-get="/poll/overview">
        <h2 data-augmented-ui="tl-clip bl-clip none">Kingdom Overview</h2>