mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-27 13:45:27 -05:00
Fix preview queue button not working
This commit is contained in:
@@ -24,10 +24,12 @@ export const loader = async ({ request }: LoaderFunctionArgs) => {
|
||||
: SendouQ.lookingGroups(user.id, privateNotes);
|
||||
const ownGroup = SendouQ.findOwnGroup(user.id);
|
||||
|
||||
sqRedirectIfNeeded({
|
||||
ownGroup,
|
||||
currentLocation: "looking",
|
||||
});
|
||||
if (!isPreview) {
|
||||
sqRedirectIfNeeded({
|
||||
ownGroup,
|
||||
currentLocation: "looking",
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
groups:
|
||||
|
||||
Reference in New Issue
Block a user