Skip to content

Commit

Permalink
npm run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Nov 27, 2024
1 parent bfe858b commit b07037b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
6 changes: 4 additions & 2 deletions src/lib/common/Beta.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<p class="govuk-phase-banner__content" style="margin-bottom: 0px">
<strong class="govuk-tag govuk-phase-banner__content__tag">Beta</strong>
<span class="govuk-phase-banner__text">
This is a new tool. Contact <a href="mailto:[email protected]">
the team
This is a new tool. Contact <a
href="mailto:[email protected]"
>
the team
</a>
with any feedback or bug reports.
</span>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ export function appVersion(): string {
return "Private (development)";
}

if(window.location.hostname == "dev.plan.activetravelengland.gov.uk") {
if (window.location.hostname == "dev.plan.activetravelengland.gov.uk") {
return "Public Beta dev environment";
}

if(window.location.hostname == "test.plan.activetravelengland.gov.uk") {
if (window.location.hostname == "test.plan.activetravelengland.gov.uk") {
return "Public Beta test environment";
}

if(window.location.hostname == "plan.activetravelengland.gov.uk") {
if (window.location.hostname == "plan.activetravelengland.gov.uk") {
return "Public Beta";
}

Expand Down
6 changes: 1 addition & 5 deletions src/pages/CleanLocalStorage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
import "../style/main.css";
// @ts-expect-error no declarations
import { initAll } from "govuk-frontend";
import {
SecondaryButton,
ButtonGroup,
WarningButton,
} from "govuk-svelte";
import { SecondaryButton, ButtonGroup, WarningButton } from "govuk-svelte";
import {
downloadGeneratedFile,
measureLocalStorageSizes,
Expand Down
7 changes: 6 additions & 1 deletion src/pages/ManageFiles.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@
setLocalStorage,
serializeSchemes,
} from "lib/common/files";
import { Beta, Header, describeAuthority, getAuthoritiesGeoJson } from "lib/common";
import {
Beta,
Header,
describeAuthority,
getAuthoritiesGeoJson,
} from "lib/common";
import { cfg } from "lib/sketch/config";
import { emptySchemes } from "scheme-sketcher-lib/draw/stores";
import { onMount } from "svelte";
Expand Down

0 comments on commit b07037b

Please sign in to comment.