Skip to content

Commit

Permalink
Fix naming for title
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Sep 14, 2024
1 parent 27c8428 commit 3187f92
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/components/LeftBar/LeftBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function LeftBar(): JSX.Element {
navigate('/');
}}>
<div className="text">
Explorer
Voi Explorer
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/ABI/ABIStudio/ABIStudio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function ABIStudio(): JSX.Element {
}, []);

useEffect(() => {
document.title = 'Explorer: ABI Studio';
document.title = 'Voi Explorer: ABI Studio';
}, [location]);

return (<div className={"abi-studio-wrapper"}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/ArcPortal/ArcPortal/ArcPortal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function ArcPortal(): JSX.Element {
dispatch(loadArcs());

useEffect(() => {
document.title = 'Explorer: ARC Portal';
document.title = 'Voi Explorer: ARC Portal';
}, [location]);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function DevWallets(): JSX.Element {
}, []);

useEffect(() => {
document.title = 'Explorer: Dev Wallets';
document.title = 'Voi Explorer: Dev Wallets';
}, [location]);

return (<div className={"dev-wallets-wrapper"}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/DeveloperApi/DeveloperApi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function DeveloperApi(): JSX.Element {
}, [dispatch]);

useEffect(() => {
document.title = 'Explorer: Developer API';
document.title = 'Voi Explorer: Developer API';
}, [location]);

return (<div className={"developer-api-wrapper"}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/Dispenser/Dispenser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function Dispenser(): JSX.Element {
const dispatch = useDispatch();

useEffect(() => {
document.title = 'V.O: Dispenser';
document.title = 'Voi Explorer: Dispenser';
}, [location]);

const [
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/Explorer/Explorer/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Explorer(): JSX.Element {

useEffect(() => {
if (location.pathname.endsWith('/explorer/home')) {
document.title = 'Explorer';
document.title = 'Voi Explorer';
}
}, [location]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Account(): JSX.Element {

useEffect(() => {
dispatch(loadAccount(address));
document.title = `Explorer: Account ${address}`
document.title = `Voi Explorer: Account ${address}`
}, [dispatch, address]);

return (<div className={"account-wrapper"}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function Application(): JSX.Element {

useEffect(() => {
dispatch(loadApplication(Number(id)));
document.title = `Explorer: Application ${id}`
document.title = `Voi Explorer: Application ${id}`
}, [dispatch, id]);

return (<div className={"application-wrapper"}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/Explorer/Records/Asset/Asset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Asset(): JSX.Element {

useEffect(() => {
dispatch(loadAsset(Number(id)));
document.title = `Explorer: Asset ${id}`
document.title = `Voi Explorer: Asset ${id}`
}, [dispatch, id]);

const b64Name = !assetInstance.getName()
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/Explorer/Records/Block/Block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Block(): JSX.Element {

useEffect(() => {
dispatch(loadBlock(Number(id)));
document.title = `Explorer: Block ${id}`
document.title = `Voi Explorer: Block ${id}`
}, [dispatch, id]);

return (<div className={"block-wrapper"}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/Explorer/Records/Group/Group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Group(): JSX.Element {

useEffect(() => {
dispatch(loadGroup({id, blockId: Number(blockId)}));
document.title = `Explorer: Group Txn ${id}`
document.title = `Voi Explorer: Group Txn ${id}`
}, [dispatch, id, blockId]);

return (<div className={"group-wrapper"}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Transaction(): JSX.Element {

useEffect(() => {
dispatch(loadTransaction(id));
document.title = `Explorer: Txn ${id}`
document.title = `Voi Explorer: Txn ${id}`
}, [dispatch, id]);

return (<div className={"transaction-wrapper"}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modules/NodeStatus/NodeStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function NodeStatus(): JSX.Element {
}, []);

useEffect(() => {
document.title = 'Explorer: Node Status';
document.title = 'Voi Explorer: Node Status';
}, [location]);

return (<div className={"node-status-wrapper"}>
Expand Down

0 comments on commit 3187f92

Please sign in to comment.