Skip to content

Commit

Permalink
Merge branch 'manawiki:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
pogseal authored Jul 18, 2024
2 parents 922e763 + f9cc65c commit 1ad0ada
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/entry.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { IsBotProvider } from "~/utils/isBotProvider";

import { createI18nextServerInstance } from "./utils/i18n/i18next.server";

const ABORT_DELAY = 5000;
const ABORT_DELAY = 10000;

export default async function handleRequest(
request: Request,
Expand Down
5 changes: 4 additions & 1 deletion app/routes/_site+/_components/RampInit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ export function RampInit() {
//@ts-ignore
const slotsToRemove = Object.keys(window.ramp.settings.slots);
//@ts-ignore
window.ramp.destroyUnits(slotsToRemove).then(addUnits);
if (slotToRemove) {
//@ts-ignore
window.ramp.destroyUnits(slotsToRemove).then(addUnits);
}
};

useEffect(() => {
Expand Down

0 comments on commit 1ad0ada

Please sign in to comment.