Commit 9b514132e92bd744e5003fc4f189a46ed5cdbf7e
Don't use deleted lib anymore
Daan Wynen committed on 3/6/2021, 10:11:18 PMParent: a2698c2e06c200ae7ec6b2bd99c2801133c8c99a
Files changed
lib/main-window.js | changed |
lib/main-window.js | |||
---|---|---|---|
@@ -9,9 +9,8 @@ | |||
9 | 9 … | const themes = require('../styles') | |
10 | 10 … | const nest = require('depnest') | |
11 | 11 … | const LatestUpdate = require('./latest-update') | |
12 | 12 … | const ref = require('ssb-ref') | |
13 | -const setupContextMenuAndSpellCheck = require('./context-menu-and-spellcheck') | ||
14 | 13 … | const watch = require('mutant/watch') | |
15 | 14 … | const requireStyle = require('require-style') | |
16 | 15 … | const ssbUri = require('ssb-uri') | |
17 | 16 … | const pull = require('pull-stream') | |
@@ -54,9 +53,8 @@ | |||
54 | 53 … | ||
55 | 54 … | const i18n = api.intl.sync.i18n | |
56 | 55 … | const language = api.settings.obs.get('patchwork.lang', '')() | |
57 | 56 … | moment.locale(language) | |
58 | - setupContextMenuAndSpellCheck(api.config.sync.load(), { navigate, getMessageText, language }) | ||
59 | 57 … | ||
60 | 58 … | const id = api.keys.sync.id() | |
61 | 59 … | const latestUpdate = LatestUpdate() | |
62 | 60 … | const subscribedChannels = api.channel.obs.subscribed(id) |
Built with git-ssb-web