mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
Progress:
This commit is contained in:
@@ -21,10 +21,15 @@ export default async function initLocalState(environment: Environment) {
|
||||
|
||||
// Parse query params
|
||||
const query = qs.parse(location.search);
|
||||
|
||||
if (query.assetID) {
|
||||
localRecord.setValue(query.assetID, "assetID");
|
||||
}
|
||||
|
||||
if (query.commentID) {
|
||||
localRecord.setValue(query.commentID, "commentID");
|
||||
}
|
||||
|
||||
// Create network Record
|
||||
const networkRecord = createAndRetain(
|
||||
environment,
|
||||
|
||||
Reference in New Issue
Block a user