Fix SSE route dependency and align architecture docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { useTheme } from '../../contexts/ThemeContext';
|
||||
import { useTheme } from '../../contexts';
|
||||
|
||||
interface BadgeProps {
|
||||
children: React.ReactNode;
|
||||
@@ -37,4 +37,4 @@ export const Badge: React.FC<BadgeProps> = ({
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { useTheme } from '../../contexts/ThemeContext';
|
||||
import { useTheme } from '../../contexts';
|
||||
|
||||
interface ButtonProps {
|
||||
variant?: 'primary' | 'secondary';
|
||||
@@ -57,4 +57,4 @@ export const Button: React.FC<ButtonProps> = ({
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { useTheme } from '../../contexts/ThemeContext';
|
||||
import { useTheme } from '../../contexts';
|
||||
|
||||
interface CardProps {
|
||||
accent?: boolean;
|
||||
@@ -51,4 +51,4 @@ export const Card: React.FC<CardProps> = ({
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { useTheme } from '../../contexts/ThemeContext';
|
||||
import { useTheme } from '../../contexts';
|
||||
|
||||
interface InputProps {
|
||||
value: string;
|
||||
@@ -42,4 +42,4 @@ export const Input: React.FC<InputProps> = ({
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { useTheme } from '../../contexts/ThemeContext';
|
||||
import { useTheme } from '../../contexts';
|
||||
|
||||
interface ProgressBarProps {
|
||||
percent: number;
|
||||
@@ -40,4 +40,4 @@ export const ProgressBar: React.FC<ProgressBarProps> = ({
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { useTheme } from '../../contexts/ThemeContext';
|
||||
import { useTheme } from '../../contexts';
|
||||
|
||||
interface ScoreBarProps {
|
||||
score: number; // 0-100
|
||||
@@ -49,4 +49,4 @@ export const ScoreBar: React.FC<ScoreBarProps> = ({
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user