From 037ca7192cb221a157153a1d3f0eb38a6725bcd7 Mon Sep 17 00:00:00 2001 From: DieMyst Date: Thu, 3 Dec 2020 10:03:33 +0300 Subject: [PATCH] delete debug --- src/Modules/View.elm | 4 ++-- src/Route.elm | 4 ---- src/Update.elm | 4 ---- src/index.ts | 4 ++-- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/Modules/View.elm b/src/Modules/View.elm index 0cc0b0d..00cd747 100644 --- a/src/Modules/View.elm +++ b/src/Modules/View.elm @@ -1,7 +1,7 @@ module Modules.View exposing (..) import Dict exposing (Dict) -import Html exposing (Html, a, div, p, span, text) +import Html exposing (Html, a, div, p, text) import Html.Attributes exposing (attribute) import Maybe.Extra import Model exposing (Model, PeerData) @@ -61,6 +61,6 @@ viewService : ModuleShortInfo -> Html msg viewService moduleInfo = div [ classes "fl w-third-ns pa2" ] [ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white link dim black mw5 hide-child pa2 br2" ] - [ p [ classes "tl di" ] [ span [ classes "b pl2" ] [ text moduleInfo.moduleInfo.name ], span [ classes "di fr pr2" ] [ instancesText moduleInfo.instanceNumber ] ] + [ p [ classes "tl di" ] [ div [ classes "fl b w-100 mb1" ] [ text moduleInfo.moduleInfo.name ], div [ classes "fl w-100 pl1" ] [ instancesText moduleInfo.instanceNumber ] ] ] ] diff --git a/src/Route.elm b/src/Route.elm index e57a4ce..8e5c8c5 100644 --- a/src/Route.elm +++ b/src/Route.elm @@ -27,10 +27,6 @@ parse url = routeView : Model -> Route -> Html Msg routeView model route = - let - _ = - Debug.log "page" route - in case route of Page page -> case page of diff --git a/src/Update.elm b/src/Update.elm index 1695f3b..2d2a217 100644 --- a/src/Update.elm +++ b/src/Update.elm @@ -87,10 +87,6 @@ update msg model = ( updatedModel, Cmd.none ) _ -> - let - _ = - Debug.log "event in ELM" name - in ( model, Cmd.none ) ToggleInterface id -> diff --git a/src/index.ts b/src/index.ts index acdc4df..6c9e4a5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,11 +22,11 @@ import { registerService } from 'fluence/dist/globalState'; import { ServiceOne } from 'fluence/dist/service'; import * as serviceWorker from './serviceWorker'; import { Elm } from './Main.elm'; -import { stage, faasNet } from './environments'; +import { faasNet } from './environments'; const relayIdx = 1; -export const relays: { peerId: string; multiaddr: string }[] = stage; +export const relays: { peerId: string; multiaddr: string }[] = faasNet; function genFlags(peerId: string): any { return {