{-# OPTIONS_GHC -fno-warn-orphans #-}

module Web.Cookie.Instances
  () where

import ClassyPrelude
import Web.Cookie

import qualified Data.ByteString.Builder as BS


instance Hashable SameSiteOption where
  hashWithSalt s opt = hashWithSalt s . BS.toLazyByteString $ renderSetCookie def{ setCookieSameSite = Just opt }
