mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
5 lines
159 B
CoffeeScript
5 lines
159 B
CoffeeScript
|
{Subscriber} = require 'emissary'
|
||
|
SubscriberMixin = componentDidUnmount: -> @unsubscribe()
|
||
|
Subscriber.extend(SubscriberMixin)
|
||
|
module.exports = SubscriberMixin
|