feat: add upvoted and downvoted listings
This commit is contained in:
1 parent
29bfa9104a
commit
7d2089be0e
4 files changed
+90
-36
No files matched your search
+4
-3
@@ -288,9 +288,10 @@ async function userFromJwt(
|
||||
if (!site) return
|
||||
|
||||
if (!versionIsSupported(site.version, MINIMUM_VERSION)) {
|
||||
throw new Error(
|
||||
`This version of Photon only supports Lemmy instances with version ${MINIMUM_VERSION} or higher. This Lemmy instance is running: ${site.version}`
|
||||
)
|
||||
toast({
|
||||
content: `This version of Photon only supports Lemmy instances with version ${MINIMUM_VERSION} or higher. This Lemmy instance is running: ${site.version}`,
|
||||
type: 'error',
|
||||
})
|
||||
}
|
||||
|
||||
const myUser = site.my_user
|
||||
|
||||
Reference in new issue
Block a user