remove console logs

This commit is contained in:
Henry Jameson 2026-03-13 13:09:39 +02:00
commit b564fc2d66
5 changed files with 0 additions and 8 deletions

View file

@ -83,7 +83,6 @@ export const vuexPushNotificationsPlugin = (store) => {
mutation.type === 'setCurrentUser' ||
mutation.type === 'clearCurrentUser'
) {
console.log(!!user, permissionGranted, enabled)
if (user && permissionGranted && enabled) {
return store.dispatch('registerPushNotifications')
} else {

View file

@ -20,10 +20,8 @@ export const getJsonOrError = async (response) => {
}
export const createApp = (instance) => {
console.log('NAP', instance)
const url = `${instance}/api/v1/apps`
const form = new window.FormData()
console.log(url)
form.append('client_name', 'PleromaFE')
form.append('website', 'https://pleroma.social')

View file

@ -136,7 +136,6 @@ const generateTheme = (inputRuleset, callbacks, debug) => {
export const tryLoadCache = async () => {
console.info('Trying to load compiled theme data from cache')
const cache = await localforage.getItem('pleromafe-theme-cache')
console.log(cache.checksum)
if (!cache) return null
try {
if (cache.engineChecksum === getEngineChecksum() &&

View file

@ -83,7 +83,6 @@ export const useOAuthStore = defineStore('oauth', {
},
async getAppToken() {
const instance = useInstanceStore().server
console.log(this.clientId)
const res = await getClientToken({
clientId: this.clientId,
clientSecret: this.clientSecret,

View file

@ -80,7 +80,6 @@ export const _moveItemInArray = (array, value, movement) => {
}
const _wrapData = (data, userName) => {
console.log('WRAP')
return {
...data,
_user: userName,
@ -414,8 +413,6 @@ export const _resetPrefs = (
}
export const _doMigrations = async (data, setPreference) => {
console.log('TEST', data._version)
if (data._version < VERSION) {
console.debug(
'Data has older version, seeing if there any migrations that can be applied',