24 lines
758 B
JavaScript
Executable file
24 lines
758 B
JavaScript
Executable file
import Flux from '../../lib/flux';
|
|
import GuildSettingsStore from '../../stores/GuildSettingsStore';
|
|
import UserSettingsStore from '../../stores/UserSettingsStore';
|
|
import StreamerModeStore from '../../stores/StreamerModeStore';
|
|
import SettingsInvites from '../common/SettingsInvites';
|
|
|
|
const GuildSettingsInvites = Flux.connectStores([GuildSettingsStore, UserSettingsStore, StreamerModeStore], () => {
|
|
const {invites, guild} = GuildSettingsStore.getProps();
|
|
|
|
return {
|
|
guild,
|
|
invites,
|
|
showChannel: true,
|
|
hide: StreamerModeStore.hideInstantInvites,
|
|
theme: UserSettingsStore.theme,
|
|
};
|
|
})(SettingsInvites);
|
|
|
|
export default GuildSettingsInvites;
|
|
|
|
|
|
|
|
// WEBPACK FOOTER //
|
|
// ./discord_app/components/guild_settings/GuildSettingsInvites.js
|