From c681834fc4c27624b78f65bd65f72e1a38ff8822 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Mon, 5 Aug 2019 18:09:42 -0700 Subject: [PATCH] Remove unused import. --- examples/docs/src/js/app.ts | 5 ++--- examples/docs/src/js/helper.ts | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/docs/src/js/app.ts b/examples/docs/src/js/app.ts index ff03832a..0f63df22 100644 --- a/examples/docs/src/js/app.ts +++ b/examples/docs/src/js/app.ts @@ -1,11 +1,10 @@ // @ts-ignore import { Elm } from "../Main.elm"; // @ts-ignore -import { imageAssets, routes } from "./image-assets"; +import { imageAssets } from "./image-assets"; import { pagesInit } from "./helper"; pagesInit({ mainElmModule: Elm.Main, - imageAssets, - routes + imageAssets }); diff --git a/examples/docs/src/js/helper.ts b/examples/docs/src/js/helper.ts index ab41c2b4..31b867a6 100644 --- a/examples/docs/src/js/helper.ts +++ b/examples/docs/src/js/helper.ts @@ -1,8 +1,8 @@ -export function pagesInit({ mainElmModule, imageAssets, routes }: any) { +export function pagesInit({ mainElmModule, imageAssets }: any) { document.addEventListener("DOMContentLoaded", function() { let app = mainElmModule.init({ node: document.getElementById("app"), - flags: { imageAssets, routes } + flags: { imageAssets } }); app.ports.toJsPort.subscribe((Heads: [Head]) => {