forked from treehouse/mastodon
Fix accidentally importing vanilla code in glitch-soc flavor (#1863)
parent
b01faa7375
commit
18f210aff6
|
@ -30,7 +30,7 @@ function main() {
|
||||||
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
|
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
|
||||||
const [{ Workbox }, { me }] = await Promise.all([
|
const [{ Workbox }, { me }] = await Promise.all([
|
||||||
import('workbox-window'),
|
import('workbox-window'),
|
||||||
import('mastodon/initial_state'),
|
import('flavours/glitch/initial_state'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const wb = new Workbox('/sw.js');
|
const wb = new Workbox('/sw.js');
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {
|
||||||
HASHTAG_FOLLOW_FAIL,
|
HASHTAG_FOLLOW_FAIL,
|
||||||
HASHTAG_UNFOLLOW_REQUEST,
|
HASHTAG_UNFOLLOW_REQUEST,
|
||||||
HASHTAG_UNFOLLOW_FAIL,
|
HASHTAG_UNFOLLOW_FAIL,
|
||||||
} from 'mastodon/actions/tags';
|
} from 'flavours/glitch/actions/tags';
|
||||||
import { Map as ImmutableMap, fromJS } from 'immutable';
|
import { Map as ImmutableMap, fromJS } from 'immutable';
|
||||||
|
|
||||||
const initialState = ImmutableMap();
|
const initialState = ImmutableMap();
|
||||||
|
|
Loading…
Reference in New Issue