<commit_before>kd = require 'kd'
React = require 'kd-react'
classnames = require 'classnames'


module.exports = class SidebarSection extends React.Component

  @defaultProps =
    onHeaderClick: kd.noop

  onHeaderClick: -> @props.onHeaderClick()


  onClose: ->

    { actions } = CreateChannelFlux<commit_msg>Client: Activity: Added default isModalOpen state<commit_after>kd                 = require 'kd'
Link               = require 'app/components/common/link'
React              = require 'kd-react'
classnames         = require 'classnames'
CreateChannelFlux  = require 'activity/flux/createchannel'
CreateChannelModal = require 'activity/components/createchannelmodal'

module.exports = class SidebarSection extends React.Component

  @defaultProps =
    onHeaderClick: kd.noop

  constructor: (options = {}, data) ->

    super options, data

    @state = { isModalOpen: no }


  onHeaderClick: -> @props.onHeaderClick()


  onClose: ->

    { actions } = CreateChannelFlux
{'fraction_non_alphanumeric': 0.10071210579857579, 'fraction_numerical': 0.0, 'mean_word_length': 3.392857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5039789', 'n_tokens_mistral': 296, 'n_tokens_neox': 278, 'n_words': 66}