mirror of
https://github.com/bendtherules/UiQuestions.git
synced 2026-08-19 00:30:59 +00:00
Rename Link to InternalLink and change usage
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
const Link = ({ hash, title }) => {
|
||||
const InternalLink = ({ hash, title }) => {
|
||||
const handleLink = (event) => {
|
||||
//manually change hash to trigger hashChange event.
|
||||
window.location.hash = "#";
|
||||
@@ -14,4 +14,4 @@ const Link = ({ hash, title }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Link;
|
||||
export default InternalLink;
|
||||
Reference in New Issue
Block a user