Skip to content

Commit

Permalink
fix issues in build
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Nov 22, 2024
1 parent cbdc1f8 commit a72cafd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ test("adding an external portal", async () => {
setup(
<ExternalPortalForm
flows={[
{ id: "a", text: "flow a" },
{ id: "b", text: "flow b" },
{ id: "a", name: "flow a", slug: "flow-a", team: "team" },
{ id: "b", name: "flow b", slug: "flow-b", team: "team" },
]}
handleSubmit={handleSubmit}
/>,
Expand Down Expand Up @@ -45,8 +45,8 @@ test("changing an external portal", async () => {
id="test"
flowId="b"
flows={[
{ id: "a", text: "flow a" },
{ id: "b", text: "flow b" },
{ id: "a", name: "flow a", slug: "flow-a", team: "team" },
{ id: "b", name: "flow b", slug: "flow-b", team: "team" },
]}
handleSubmit={handleSubmit}
/>,
Expand Down
2 changes: 1 addition & 1 deletion editor.planx.uk/src/routes/flow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const getExternalPortals = async () => {
slug,
team: team.name,
}))
.sort((a, b) => {
.sort((a: Flow, b: Flow) => {
if (a.team > b.team) {
return 1;
} else if (b.team > a.team) {
Expand Down

0 comments on commit a72cafd

Please sign in to comment.