mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-10 10:30:47 +08:00
feat: localize IM settings
This commit is contained in:
parent
9d50ee7d03
commit
acd38ec3ee
16 changed files with 2161 additions and 1060 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import * as React from 'react';
|
||||
|
||||
import { SlackLogoGlyph } from '../../channel-logos.js';
|
||||
import { h } from '../../i18n.js';
|
||||
import { createTokenChannelSettings } from '../shared/token-channel.js';
|
||||
import {
|
||||
SLACK_CREATE_APP_URL,
|
||||
|
|
@ -9,8 +10,6 @@ import {
|
|||
import { SLACK_ENDPOINTS, slackClientApi } from './api.js';
|
||||
import { installSlackStyles } from './styles.js';
|
||||
|
||||
const h = React.createElement;
|
||||
|
||||
export function SlackCredentialPanel({ busy, error, onSubmit, onCancel }) {
|
||||
const [botToken, setBotToken] = React.useState('');
|
||||
const [appToken, setAppToken] = React.useState('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue