-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the search bar (and add bech32 search) (#60)
* (feat) Search instructions * (fix) Search now works again (erm, I think) (feat) A help box for search. (feat) Search by bech32 address * (fix) Fix search box * (fix ) prettier * (fix) Fix variable reference in search.ts (fix) Fix types in InlineCode
- Loading branch information
1 parent
0b48919
commit f0c8fc0
Showing
4 changed files
with
169 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
|
||
type InlineCodeProps = React.PropsWithChildren<{ | ||
children: React.ReactNode; | ||
}>; | ||
|
||
const InlineCode: React.FC<InlineCodeProps> = ({ children }) => ( | ||
<code className="px-1 py-0.5 rounded bg-gray-100 text-gray-800 font-mono text-sm"> | ||
{children} | ||
</code> | ||
); | ||
|
||
export default React.memo(InlineCode); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters