Fix accidentally importing vanilla code in glitch-soc flavor (#1863)

lolsob-rspec
Claire 2022-10-11 19:35:37 +02:00 committed by GitHub
parent 859d917a89
commit 1ce75c18e0
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ function main() {
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
const [{ Workbox }, { me }] = await Promise.all([
import('workbox-window'),
import('mastodon/initial_state'),
import('flavours/glitch/initial_state'),
]);
const wb = new Workbox('/sw.js');

View File

@ -4,7 +4,7 @@ import {
HASHTAG_FOLLOW_FAIL,
HASHTAG_UNFOLLOW_REQUEST,
HASHTAG_UNFOLLOW_FAIL,
} from 'mastodon/actions/tags';
} from 'flavours/glitch/actions/tags';
import { Map as ImmutableMap, fromJS } from 'immutable';
const initialState = ImmutableMap();