Forráskód Böngészése

Fix some compilation warnings

jherve 2 éve
szülő
commit
f2eec9e98e
2 módosított fájl, 2 hozzáadás és 3 törlés
  1. 2 2
      src/LinkedIn/UI/Basic/Types.purs
  2. 0 1
      test/JobsUnifiedTopCard.purs

+ 2 - 2
src/LinkedIn/UI/Basic/Types.purs

@@ -24,7 +24,7 @@ derive instance Generic MonthYear _
 instance Show MonthYear where
 instance Show MonthYear where
   show = genericShow
   show = genericShow
 instance EncodeJson MonthYear where
 instance EncodeJson MonthYear where
-  encodeJson a = encodeString "monthyear" -- TODO
+  encodeJson _ = encodeString "monthyear" -- TODO
 
 
 data TimeSpan =
 data TimeSpan =
   TimeSpanBounded MonthYear MonthYear
   TimeSpanBounded MonthYear MonthYear
@@ -49,7 +49,7 @@ derive instance Generic Duration _
 instance Show Duration where
 instance Show Duration where
   show = genericShow
   show = genericShow
 instance EncodeJson Duration where
 instance EncodeJson Duration where
-  encodeJson a = encodeString "duration" -- TODO
+  encodeJson _ = encodeString "duration" -- TODO
 
 
 data JobFlexibility = JobFlexHybrid | JobFlexOnSite | JobFlexFullRemote
 data JobFlexibility = JobFlexHybrid | JobFlexOnSite | JobFlexFullRemote
 
 

+ 0 - 1
test/JobsUnifiedTopCard.purs

@@ -14,7 +14,6 @@ import LinkedIn.Extractible (query)
 import LinkedIn.Jobs.JobOffer (JobOffer(..))
 import LinkedIn.Jobs.JobOffer (JobOffer(..))
 import LinkedIn.Jobs.JobOffer as JJO
 import LinkedIn.Jobs.JobOffer as JJO
 import LinkedIn.Page.JobOffer (JobOfferPage(..))
 import LinkedIn.Page.JobOffer (JobOfferPage(..))
-import LinkedIn.Page.JobOffer as PageJO
 import LinkedIn.QueryRunner (runQuery)
 import LinkedIn.QueryRunner (runQuery)
 import LinkedIn.UI.Basic.Types (JobFlexibility(..))
 import LinkedIn.UI.Basic.Types (JobFlexibility(..))
 import LinkedIn.UI.Components.JobsUnifiedTopCard (JobsUnifiedTopCardElement(..), TopCardAction(..), TopCardInsight(..), TopCardInsightContent(..), TopCardPrimaryDescription(..), TopCardSecondaryInsight(..))
 import LinkedIn.UI.Components.JobsUnifiedTopCard (JobsUnifiedTopCardElement(..), TopCardAction(..), TopCardInsight(..), TopCardInsightContent(..), TopCardPrimaryDescription(..), TopCardSecondaryInsight(..))