Skip to content

Commit

Permalink
fix: EN_7
Browse files Browse the repository at this point in the history
  • Loading branch information
lucanicoladebiasi committed Jan 31, 2025
1 parent cfb6697 commit 5d30fb8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions apps/sdk-vite-integration/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { BrowserRouter as Router, Route, Routes, Link } from 'react-router-dom';
import reactLogo from './assets/react.svg';
import viteLogo from '/vite.svg';
import './App.css';
import Hash from './components/Hash.js';
import TransferLogs from './components/TransferLogs.js';
import GetLastBlock from './components/GetLastBlock.js';
import Hash from './components/Hash.tsx';
import TransferLogs from './components/TransferLogs.tsx';
import GetLastBlock from './components/GetLastBlock.tsx';

function App() {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/sdk-vite-integration/src/components/GetLastBlock.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type CompressedBlockDetail } from "@vechain/sdk-network";
import { useState } from "react";
import { thorClient } from '../const/index.js';
import { thorClient } from '../const/index.tsx';

const GetLastBlock = () => {
const [block, setBlock] = useState<CompressedBlockDetail | null>(null);
Expand Down
2 changes: 1 addition & 1 deletion apps/sdk-vite-integration/src/components/Hash.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Blake2b256, Keccak256, Sha256, Txt } from '@vechain/sdk-core';
import { useEffect, useState } from 'react';
import { HashedContent } from '../types/index.js';
import { HashedContent } from '../types/index.tsx';

const Hash = () => {
// State of content to hash
Expand Down
2 changes: 1 addition & 1 deletion apps/sdk-vite-integration/src/const/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// eslint-disable-next-line react-refresh/only-export-components
export * from '../const/const.js';
export * from '../const/const.tsx';

0 comments on commit 5d30fb8

Please sign in to comment.