📝 Adding elements to Comic Detail page

This commit is contained in:
2021-06-12 11:32:18 -07:00
parent 2b3fcbfeb5
commit 7ea962952a
4 changed files with 48 additions and 13 deletions

View File

@@ -0,0 +1,6 @@
export const removeLeadingPeriod = (input: string): string => {
if (input.charAt(0) == ".") {
input = input.substr(1);
}
return input;
};