mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-16 16:09:09 -05:00
* Initial * Progress * Recent winners * Add button * Progress * Mobile nav initial * UI tweaks * Overflow * AnythingAdder links to places * Remove color for tournament showcase * Adjust SQ top banner based on if season is on right or not * Tournament participant count fixed * Log out * todo * Progress * Nav complete * Done? * Fix lint * Translate settings
8 lines
233 B
TypeScript
8 lines
233 B
TypeScript
import type { ShouldRevalidateFunctionArgs } from "@remix-run/react";
|
|
|
|
export function isRevalidation(args: ShouldRevalidateFunctionArgs) {
|
|
return (
|
|
args.defaultShouldRevalidate && args.nextUrl.href === args.currentUrl.href
|
|
);
|
|
}
|