Remove unused import.

This commit is contained in:
Dillon Kearns 2019-08-05 18:09:42 -07:00
parent c2bc4be5fb
commit c681834fc4
2 changed files with 4 additions and 5 deletions

View File

@ -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
});

View File

@ -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]) => {