Skip to content

Commit 74e478b

Browse files
committed
fixed function import, added addopn to storybook
1 parent 4ab5f1f commit 74e478b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.storybook/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ module.exports = {
44
],
55
addons: [
66
"@storybook/addon-links",
7-
"@storybook/addon-essentials"
7+
"@storybook/addon-essentials",
8+
"@storybook/addon-postcss"
89
],
910
webpackFinal: async (config) => {
1011
config.externals = {

src/chat/message.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { mostRecentVersion, originalVersion } from './chatLogic'
1111
import * as debug from '../debug'
1212
import { icons } from '../iconBase'
1313
import { store, authn } from 'solid-logic'
14-
import { login } from '../login/login'
14+
import { ensureLoggedIn } from '../login/login'
1515
import { media } from '../media/index'
1616
import * as ns from '../ns'
1717
import * as pad from '../pad'
@@ -449,7 +449,7 @@ export function renderMessageEditor (channelObject, messageTable, userContext, o
449449
let field, sendButton
450450
const context = { div: middle, dom: dom }
451451

452-
login.ensureLoggedIn(context).then(context => {
452+
ensureLoggedIn(context).then(context => {
453453
// me = context.me
454454
turnOnInput()
455455
Object.assign(context, userContext)

0 commit comments

Comments
 (0)