[FEAT] Enable SSR (#727)

* Enable SSR and quick-fix rainbowkit hydration

* move static content to SSR components

* production ready
This commit is contained in:
Léo Galley
2024-07-30 15:50:52 -04:00
committed by GitHub
parent 0d58e18957
commit 53b7e70bfd
22 changed files with 116 additions and 177 deletions

View File

@@ -1,11 +1,8 @@
import React, { useState, useCallback } from 'react';
import { AnimatePresence, motion, cubicBezier } from 'framer-motion';
import Link from 'next/link';
import useClickAway from 'base-ui/hooks/useClickAway';
import { Icon } from 'base-ui';
import { REVERSE_COLOR, reverseTextColor } from 'apps/bridge/src/utils/colors';
// Dropdown Link