mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-01 09:05:49 +00:00
feat: migrate to the realm rc version
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { useTranslate } from "@portal/hooks";
|
||||
import { useThemeHooks } from '@redocly/theme/core/hooks';
|
||||
import moment from "moment";
|
||||
|
||||
export const frontmatter = {
|
||||
@@ -167,6 +167,7 @@ const events = [
|
||||
];
|
||||
const { nearestDateDiff, nearestEvent } = findNearestUpcomingEvent(events);
|
||||
const XrplEventsAndCarouselSection = ({ events }) => {
|
||||
const { useTranslate } = useThemeHooks();
|
||||
const { translate } = useTranslate();
|
||||
const [currentIndex, setCurrentIndex] = useState(7);
|
||||
|
||||
@@ -302,6 +303,7 @@ const XrplEventsAndCarouselSection = ({ events }) => {
|
||||
};
|
||||
|
||||
const CommunityPage: React.FC = () => {
|
||||
const { useTranslate } = useThemeHooks();
|
||||
const { translate } = useTranslate();
|
||||
return (
|
||||
<div className="no-sidebar landing page-community">
|
||||
|
||||
Reference in New Issue
Block a user