Let the server set the theme based on the cookie sent at request time, which should stop flashing
This commit is contained in:
@@ -77,7 +77,6 @@ export const parseDescriptionDefault = (reg: Register, description: string) => {
|
||||
// });
|
||||
} else if (trimmedLine.startsWith('*')) {
|
||||
const noteMatch = trimmedLine.match(/^(\*+)\s*(.*)/);
|
||||
console.log("NOTE MATCH",noteMatch);
|
||||
if (noteMatch) {
|
||||
accessData.notes.push({
|
||||
ref: noteMatch[1],
|
||||
@@ -89,8 +88,6 @@ export const parseDescriptionDefault = (reg: Register, description: string) => {
|
||||
reg.text += `${line}\n`;
|
||||
continue;
|
||||
}
|
||||
// console.log("LINE",line);
|
||||
console.log(line.match(/^\s+/), line);
|
||||
if (line.match(/^\s+/) && accessData.operations.length > 0) {
|
||||
accessData.operations[accessData.operations.length - 1].description += `\n${line}`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user