debug-session
This commit is contained in:
parent
85e21b0fc3
commit
9dd9bc7cab
|
@ -245,6 +245,7 @@ export const SessionProvider = (props: {
|
||||||
console.warn('app_data is empty')
|
console.warn('app_data is empty')
|
||||||
if (s?.user) {
|
if (s?.user) {
|
||||||
try {
|
try {
|
||||||
|
console.info('Loading author:', s?.user?.nickname)
|
||||||
const a = await loadAuthor({ slug: s?.user?.nickname })
|
const a = await loadAuthor({ slug: s?.user?.nickname })
|
||||||
addAuthors([a])
|
addAuthors([a])
|
||||||
setAuthor(a)
|
setAuthor(a)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user