Преглед изворни кода

Fix some compilation warnings

jherve пре 1 година
родитељ
комит
dd464b3438
2 измењених фајлова са 2 додато и 3 уклоњено
  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(..))