Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
e0d21069
Commit
e0d21069
authored
Jul 23, 2021
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLEAN] some warnings
parent
c193967f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
User.purs
src/Gargantext/Components/Nodes/Annuaire/User.purs
+3
-2
Router.purs
src/Gargantext/Components/Router.purs
+1
-1
No files found.
src/Gargantext/Components/Nodes/Annuaire/User.purs
View file @
e0d21069
...
@@ -4,10 +4,9 @@ module Gargantext.Components.Nodes.Annuaire.User
...
@@ -4,10 +4,9 @@ module Gargantext.Components.Nodes.Annuaire.User
)
)
where
where
import Gargantext.Prelude (Unit, bind,
const,
discard, pure, show, ($), (<$>), (<<<), (<>))
import Gargantext.Prelude (Unit, bind, discard, pure, show, ($), (<$>), (<<<), (<>))
import Data.Lens as L
import Data.Lens as L
import Data.Maybe (Maybe(..), fromMaybe)
import Data.Maybe (Maybe(..), fromMaybe)
import Data.Tuple.Nested ((/\))
import Effect (Effect)
import Effect (Effect)
import Effect.Aff (Aff, launchAff_)
import Effect.Aff (Aff, launchAff_)
import Effect.Class (liftEffect)
import Effect.Class (liftEffect)
...
@@ -147,8 +146,10 @@ contactInfoItemCpt = here.component "contactInfoItem" cpt
...
@@ -147,8 +146,10 @@ contactInfoItemCpt = here.component "contactInfoItem" cpt
let newHyperdata = (L.over cLens (\_ -> R.readRef valueRef) hyperdata) :: HyperdataUser
let newHyperdata = (L.over cLens (\_ -> R.readRef valueRef) hyperdata) :: HyperdataUser
onUpdateHyperdata newHyperdata
onUpdateHyperdata newHyperdata
{-
listElement :: Array R.Element -> R.Element
listElement :: Array R.Element -> R.Element
listElement = H.li { className: "list-group-item justify-content-between" }
listElement = H.li { className: "list-group-item justify-content-between" }
-}
type LayoutNoSessionProps =
type LayoutNoSessionProps =
( frontends :: Frontends
( frontends :: Frontends
...
...
src/Gargantext/Components/Router.purs
View file @
e0d21069
...
@@ -57,7 +57,7 @@ router :: R2.Leaf Props
...
@@ -57,7 +57,7 @@ router :: R2.Leaf Props
router props = R.createElement routerCpt props []
router props = R.createElement routerCpt props []
routerCpt :: R.Component Props
routerCpt :: R.Component Props
routerCpt = here.component "router" cpt where
routerCpt = here.component "router" cpt where
cpt { boxes: boxes@{ handed
, showTree
} } _ = do
cpt { boxes: boxes@{ handed } } _ = do
handed' <- T.useLive T.unequal handed
handed' <- T.useLive T.unequal handed
let handedClassName = case handed' of
let handedClassName = case handed' of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment