Skip to content

Commit acdb533

Browse files
committed
temporary logs
1 parent 0a10bc2 commit acdb533

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/features/decoder/components/token-decoder.component.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,20 @@ export const TokenDecoderComponent: React.FC<TokenDecoderComponentProps> = ({
7575
}
7676

7777
if (!hash.includes("=")) {
78+
console.log("hash not includes =")
7879
return;
7980
}
8081

81-
const hashParams = new URLSearchParams(hash);
82+
8283

84+
const hashParams = new URLSearchParams(hash);
85+
console.log("Hash param keys!!!", hashParams)
8386
Object.values(SupportedTokenHashParamValues).forEach((hashParamKey) => {
8487
const token = hashParams.get(hashParamKey);
8588

8689
if (token) {
90+
console.count("handling jwt change")
91+
console.log("The token is:///", token)
8792
handleJwtChange$(token);
8893
}
8994
});

0 commit comments

Comments
 (0)