Skip to content

Commit

Permalink
add ascii logo and warning to console on load (#3272)
Browse files Browse the repository at this point in the history
  • Loading branch information
callensm authored Mar 10, 2023
1 parent bb7b6af commit b888e2e
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion packages/app-extension/src/app/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { lazy, Suspense } from "react";
import { lazy, Suspense, useLayoutEffect } from "react";
import { HashRouter } from "react-router-dom";
import { EXTENSION_HEIGHT, EXTENSION_WIDTH } from "@coral-xyz/common";
import {
Expand Down Expand Up @@ -40,6 +40,41 @@ export default function App() {
const pStr = window.localStorage.getItem("preferences");
const preferences = pStr ? JSON.parse(pStr) : {};

useLayoutEffect(() => {
console.log(`
d####b
d##########b
d################b
d#######################b
d###########^''''^##########b
d##########b d##########b
d##########b d##########b
############b d############
##############b....d##############
##################################
##################################
##################################
##################################
################################
################################
##################################
##################################
##################################
##################################
################################
Backpack - A home for your xNFTs
https://backpack.app
https://github.com/coral-xyz/backpack
DO NOT COPY OR PASTE ANYTHING AS INSTRUCTED BY
ANOTHER PERSON IN HERE!
`);
}, []);

return (
<div
style={{
Expand Down

1 comment on commit b888e2e

@vercel
Copy link

@vercel vercel bot commented on b888e2e Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.