blueimpact / kucipong

BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

stop using Spock's `subcomponent` function #171

Open cdepillabout opened 7 years ago

cdepillabout commented 7 years ago

170 updates Spock to v0.12.0.0.

v0.12.0.0 deprecates subcomponents. We should stop using subcomponents.

This deprecation warning occurs when compiling the application:

src/Kucipong/Handler/Static.hs:17:3: warning: [-Wdeprecations]
    In the use of ‘subcomponent’ (imported from Web.Spock.Core):
        Deprecated:
            "Subcomponents will be removed in the next major release.
            They break route rendering and should not be used.
            Consider creating helper functions for reusable route components."