feat: migrate to the realm rc version

This commit is contained in:
Nazarii Mykhailets
2024-05-28 17:09:54 +03:00
parent 1ca4997c1c
commit 7402168061
46 changed files with 472 additions and 1322 deletions

View File

@@ -1,6 +1,6 @@
import { useState, useMemo } from "react";
import * as React from "react";
import { useTranslate } from "@portal/hooks";
import { useThemeHooks } from '@redocly/theme/core/hooks';
const moment = require("moment");
const amaImage = require("../static/img/events/AMAs.png")
const hackathon = require("../static/img/events/Hackathons.png")
@@ -686,6 +686,7 @@ const events = [
];
export default function Events() {
const { useTranslate} = useThemeHooks();
const { translate } = useTranslate();
const { past, upcoming } = useMemo(() => categorizeDates(events), []);