mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
refact: rename 404 hint component
This commit is contained in:
+2
-2
@@ -55,14 +55,14 @@ function levenshteinDistance(term1: string, term2: string) {
|
||||
return matrix[term2.length][term1.length]
|
||||
}
|
||||
|
||||
interface IPossibleCorrections {
|
||||
interface IFourZeroFourHint {
|
||||
basepath: string
|
||||
location: WindowLocation
|
||||
data: { allFile: FileConnection }
|
||||
threshold?: number
|
||||
}
|
||||
|
||||
export const PossibleCorrections: FC<IPossibleCorrections> = ({
|
||||
export const FourZeroFourHint: FC<IFourZeroFourHint> = ({
|
||||
basepath,
|
||||
location,
|
||||
data,
|
||||
Reference in New Issue
Block a user